[][src]Struct gstreamer::Iterator

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

Implementations

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

pub unsafe fn into_ptr(self) -> *mut GstIterator[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]

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

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

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

type Item = Result<T, IteratorError>

The type of the elements being iterated over.

type IntoIter = StdIterator<T>

Which kind of iterator are we turning this into?

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

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

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

Auto Trait Implementations

impl<T> RefUnwindSafe for Iterator<T> where
    T: RefUnwindSafe

impl<T> Unpin for Iterator<T> where
    T: Unpin

impl<T> UnwindSafe for Iterator<T> where
    T: UnwindSafe

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.