pub struct Iterator<T> { /* private fields */ }
Implementations§
source§impl<T> Iterator<T>where
for<'a> T: FromValue<'a> + 'static,
impl<T> Iterator<T>where for<'a> T: FromValue<'a> + 'static,
pub fn next(&mut self) -> Result<Option<T>, IteratorError>
pub fn resync(&mut self)
pub fn filter<F>(self, func: F) -> Selfwhere F: Fn(T) -> bool + Send + Sync + 'static, T: StaticType,
pub fn find<F>(&mut self, func: F) -> Option<T>where F: FnMut(T) -> bool,
pub fn foreach<F>(&mut self, func: F) -> Result<(), IteratorError>where 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>,
source§impl<T> Iterator<T>where
for<'a> T: FromValue<'a> + StaticType + ToValue + Send + 'static,
impl<T> Iterator<T>where for<'a> T: FromValue<'a> + StaticType + ToValue + Send + 'static,
pub fn new<I: IteratorImpl<T>>(imp: I) -> Self
Trait Implementations§
source§impl<T: StaticType + 'static> Clone for Iterator<T>
impl<T: StaticType + 'static> Clone for Iterator<T>
source§impl<'a, T: StaticType + 'static> FromValue<'a> for Iterator<T>
impl<'a, T: StaticType + 'static> FromValue<'a> for Iterator<T>
§type Checker = GenericValueTypeOrNoneChecker<Iterator<T>>
type Checker = GenericValueTypeOrNoneChecker<Iterator<T>>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl<T: 'static> IntoGlibPtr<*mut GstIterator> for Iterator<T>
impl<T: 'static> IntoGlibPtr<*mut GstIterator> for Iterator<T>
source§unsafe fn into_glib_ptr(self) -> *mut GstIterator
unsafe fn into_glib_ptr(self) -> *mut GstIterator
Transfer: full.
source§impl<T> IntoIterator for Iterator<T>where
for<'a> T: FromValue<'a> + 'static,
impl<T> IntoIterator for Iterator<T>where for<'a> T: FromValue<'a> + 'static,
source§impl<T> StaticType for Iterator<T>
impl<T> StaticType for Iterator<T>
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<T: StaticType + 'static> ToValue for Iterator<T>
impl<T: StaticType + 'static> ToValue for Iterator<T>
source§impl<T: StaticType + 'static> ToValueOptional for Iterator<T>
impl<T: StaticType + 'static> ToValueOptional for Iterator<T>
source§impl<T: StaticType + 'static> ValueType for Iterator<T>
impl<T: StaticType + 'static> ValueType for Iterator<T>
impl<T> Send for Iterator<T>
impl<T> Sync for Iterator<T>
impl<T: StaticType + 'static> ValueTypeOptional for Iterator<T>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
impl<T> IntoClosureReturnValue for Twhere T: Into<Value>,
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.