Struct glib::value::GenericValueTypeOrNoneChecker
source · [−]pub struct GenericValueTypeOrNoneChecker<T>(_);
Expand description
Generic Value
type checker for optional types.
Trait Implementations
sourceimpl<T: StaticType> ValueTypeChecker for GenericValueTypeOrNoneChecker<T>
impl<T: StaticType> ValueTypeChecker for GenericValueTypeOrNoneChecker<T>
type Error = ValueTypeMismatchOrNoneError<ValueTypeMismatchError>
fn check(value: &Value) -> Result<(), Self::Error>
Auto Trait Implementations
impl<T> RefUnwindSafe for GenericValueTypeOrNoneChecker<T> where
T: RefUnwindSafe,
impl<T> Send for GenericValueTypeOrNoneChecker<T> where
T: Send,
impl<T> Sync for GenericValueTypeOrNoneChecker<T> where
T: Sync,
impl<T> Unpin for GenericValueTypeOrNoneChecker<T> where
T: Unpin,
impl<T> UnwindSafe for GenericValueTypeOrNoneChecker<T> where
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