[][src]Struct gstreamer::Iterator

pub struct Iterator<T> { /* fields omitted */ }

Methods

impl<T> Iterator<T> where
    T: FromValueOptional<'a> + 'static, 
[src]

pub fn next(&mut self) -> Result<Option<T>, IteratorError>[src]

pub fn resync(&mut self)[src]

pub fn filter<F>(self, func: F) -> Self where
    F: Fn(T) -> bool + Send + Sync + 'static, 
[src]

pub fn find<F>(&mut self, func: F) -> Option<T> where
    F: FnMut(T) -> bool
[src]

pub fn foreach<F>(&mut self, func: F) -> Result<(), IteratorError> where
    F: FnMut(T), 
[src]

pub fn fold<F, U>(&mut self, init: U, func: F) -> Result<U, IteratorError> where
    F: FnMut(U, T) -> Result<U, U>, 
[src]

impl<T> Iterator<T> where
    T: FromValueOptional<'a> + StaticType + ToValue + Send + 'static, 
[src]

pub fn new<I: IteratorImpl<T>>(imp: I) -> Self[src]

impl<T> Iterator<T> where
    T: FromValueOptional<'a> + StaticType + ToValue + Clone + Send + 'static, 
[src]

pub fn from_vec(items: Vec<T>) -> Self[src]

Trait Implementations

impl<T: StaticType + 'static> Clone for Iterator<T>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T> Send for Iterator<T>[src]

impl<T> Drop for Iterator<T>[src]

impl<T: Debug> Debug for Iterator<T>[src]

impl<T> StaticType for Iterator<T>[src]

Auto Trait Implementations

impl<T> !Sync for Iterator<T>

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]