Add SupportedFormat (#168)
This commit is contained in:
parent
393206bde9
commit
87949d859b
9 changed files with 75 additions and 30 deletions
|
|
@ -5,6 +5,7 @@ use std::marker::PhantomData;
|
|||
use CreationError;
|
||||
use Format;
|
||||
use FormatsEnumerationError;
|
||||
use SupportedFormat;
|
||||
use UnknownTypeBuffer;
|
||||
|
||||
pub struct EventLoop;
|
||||
|
|
@ -84,10 +85,10 @@ impl Endpoint {
|
|||
pub struct SupportedFormatsIterator;
|
||||
|
||||
impl Iterator for SupportedFormatsIterator {
|
||||
type Item = Format;
|
||||
type Item = SupportedFormat;
|
||||
|
||||
#[inline]
|
||||
fn next(&mut self) -> Option<Format> {
|
||||
fn next(&mut self) -> Option<SupportedFormat> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue