Struct glib::value::ValueTypeOrNoneChecker
source · [−]pub struct ValueTypeOrNoneChecker<T, C, E>(_);
Expand description
Wrapped Value
type checker for optional types.
Trait Implementations
sourceimpl<'a, T, C, E> ValueTypeChecker for ValueTypeOrNoneChecker<T, C, E> where
T: FromValue<'a, Checker = C> + StaticType,
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>,
E: Error + Send + Sized + 'static,
impl<'a, T, C, E> ValueTypeChecker for ValueTypeOrNoneChecker<T, C, E> where
T: FromValue<'a, Checker = C> + StaticType,
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>,
E: Error + Send + Sized + 'static,
Auto Trait Implementations
impl<T, C, E> RefUnwindSafe for ValueTypeOrNoneChecker<T, C, E> where
C: RefUnwindSafe,
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, C, E> Send for ValueTypeOrNoneChecker<T, C, E> where
C: Send,
E: Send,
T: Send,
impl<T, C, E> Sync for ValueTypeOrNoneChecker<T, C, E> where
C: Sync,
E: Sync,
T: Sync,
impl<T, C, E> Unpin for ValueTypeOrNoneChecker<T, C, E> where
C: Unpin,
E: Unpin,
T: Unpin,
impl<T, C, E> UnwindSafe for ValueTypeOrNoneChecker<T, C, E> where
C: UnwindSafe,
E: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more