Struct gstreamer::Iterator [−][src]
pub struct Iterator<T> { /* fields omitted */ }
Implementations
impl<T> Iterator<T> where
T: FromValue<'a> + 'static,
[src]
impl<T> Iterator<T> where
T: FromValue<'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,
T: StaticType,
[src]
F: Fn(T) -> bool + Send + Sync + 'static,
T: StaticType,
pub fn find<F>(&mut self, func: F) -> Option<T> where
F: FnMut(T) -> bool,
[src]
F: FnMut(T) -> bool,
pub fn foreach<F>(&mut self, func: F) -> Result<(), IteratorError> where
F: FnMut(T),
[src]
F: FnMut(T),
pub fn fold<F, U>(&mut self, init: U, func: F) -> Result<U, IteratorError> where
F: FnMut(U, T) -> Result<U, U>,
[src]
F: FnMut(U, T) -> Result<U, U>,
impl<T> Iterator<T> where
T: FromValue<'a> + StaticType + ToValue + Send + 'static,
[src]
impl<T> Iterator<T> where
T: FromValue<'a> + StaticType + ToValue + Send + 'static,
[src]pub fn new<I: IteratorImpl<T>>(imp: I) -> Self
[src]
impl<T> Iterator<T> where
T: FromValue<'a> + StaticType + ToValue + Clone + Send + 'static,
[src]
impl<T> Iterator<T> where
T: FromValue<'a> + StaticType + ToValue + Clone + Send + 'static,
[src]Trait Implementations
impl<T: StaticType + 'static> Clone for Iterator<T>
[src]
impl<T: StaticType + 'static> Clone for Iterator<T>
[src]impl<'a, T: StaticType + 'static> FromValue<'a> for Iterator<T>
[src]
impl<'a, T: StaticType + 'static> FromValue<'a> for Iterator<T>
[src]type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
[src]Get the contained value from a Value
. Read more
impl<T> IntoIterator for Iterator<T> where
T: FromValue<'a> + 'static,
[src]
impl<T> IntoIterator for Iterator<T> where
T: FromValue<'a> + 'static,
[src]type Item = Result<T, IteratorError>
type Item = Result<T, IteratorError>
The type of the elements being iterated over.
type IntoIter = StdIterator<T>
type IntoIter = StdIterator<T>
Which kind of iterator are we turning this into?
impl<T> StaticType for Iterator<T>
[src]
impl<T> StaticType for Iterator<T>
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl<T: StaticType + 'static> ToValue for Iterator<T>
[src]
impl<T: StaticType + 'static> ToValue for Iterator<T>
[src]impl<T: StaticType + 'static> ToValueOptional for Iterator<T>
[src]
impl<T: StaticType + 'static> ToValueOptional for Iterator<T>
[src]fn to_value_optional(s: Option<&Self>) -> Value
[src]
fn to_value_optional(s: Option<&Self>) -> Value
[src]Convert an Option
to a Value
.
impl<T: StaticType + 'static> ValueType for Iterator<T>
[src]
impl<T: StaticType + 'static> ValueType for Iterator<T>
[src]impl<T> Send for Iterator<T>
[src]
impl<T> Sync for Iterator<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Iterator<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Unpin for Iterator<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Iterator<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
pub fn to_send_value(&self) -> SendValue
[src]Returns a SendValue
clone of self
.
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,
[src]
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,