pub struct ToggleOutput {
pub ok: bool,
pub selected: Option<String>,
pub active_class: bool,
}Fields§
§ok: bool§selected: Option<String>§active_class: boolTrait Implementations§
Source§impl Clone for ToggleOutput
impl Clone for ToggleOutput
Source§fn clone(&self) -> ToggleOutput
fn clone(&self) -> ToggleOutput
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 moreSource§impl Debug for ToggleOutput
impl Debug for ToggleOutput
Auto Trait Implementations§
impl Freeze for ToggleOutput
impl RefUnwindSafe for ToggleOutput
impl Send for ToggleOutput
impl Sync for ToggleOutput
impl Unpin for ToggleOutput
impl UnsafeUnpin for ToggleOutput
impl UnwindSafe for ToggleOutput
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