pub struct InteractiveToggle(pub bool);Expand description
A bare boolean toggle (docgenInteractive: false) at the base level.
Tuple Fields§
§0: boolImplementations§
Trait Implementations§
Source§impl Clone for InteractiveToggle
impl Clone for InteractiveToggle
Source§fn clone(&self) -> InteractiveToggle
fn clone(&self) -> InteractiveToggle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InteractiveToggle
Source§impl Debug for InteractiveToggle
impl Debug for InteractiveToggle
Source§impl<'de> Deserialize<'de> for InteractiveToggle
impl<'de> Deserialize<'de> for InteractiveToggle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InteractiveToggle
impl RefUnwindSafe for InteractiveToggle
impl Send for InteractiveToggle
impl Sync for InteractiveToggle
impl Unpin for InteractiveToggle
impl UnsafeUnpin for InteractiveToggle
impl UnwindSafe for InteractiveToggle
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