Add SupportedFormat (#168)

This commit is contained in:
tomaka 2017-10-20 21:18:40 +02:00 • committed by GitHub
parent 393206bde9
commit 87949d859b
9 changed files with 75 additions and 30 deletions

View file

@ -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
}
}