pub struct OnOffArg(pub bool);Expand description
An on/off switch, also accepting the true/false and 1/0
spellings the provisioning file has always allowed.
Tuple Fields§
§0: boolTrait Implementations§
impl Copy for OnOffArg
impl Eq for OnOffArg
impl StructuralPartialEq for OnOffArg
Auto Trait Implementations§
impl Freeze for OnOffArg
impl RefUnwindSafe for OnOffArg
impl Send for OnOffArg
impl Sync for OnOffArg
impl Unpin for OnOffArg
impl UnwindSafe for OnOffArg
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)