Struct glib::value::ValueTypeOrNoneChecker
source · pub struct ValueTypeOrNoneChecker<T, C, E>(PhantomData<(T, C, E)>);
Expand description
Wrapped Value
type checker for optional types.
Tuple Fields§
§0: PhantomData<(T, C, E)>
Trait Implementations§
source§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,
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> Freeze for ValueTypeOrNoneChecker<T, C, E>
impl<T, C, E> RefUnwindSafe for ValueTypeOrNoneChecker<T, C, E>
impl<T, C, E> Send for ValueTypeOrNoneChecker<T, C, E>
impl<T, C, E> Sync for ValueTypeOrNoneChecker<T, C, E>
impl<T, C, E> Unpin for ValueTypeOrNoneChecker<T, C, E>
impl<T, C, E> UnwindSafe for ValueTypeOrNoneChecker<T, C, E>
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