pub struct Flag;
Trait Implementations§
Source§impl<'a> OptionType<'a> for Flag
impl<'a> OptionType<'a> for Flag
type OutputValue = bool
type DefaultValue = ()
fn convert_default(_value: &()) -> Option<Value>
fn from_value(value: &Option<Value>) -> Self::OutputValue
fn get_value_type() -> ValueType
Auto Trait Implementations§
impl Freeze for Flag
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
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