pub struct SwitchResult {
pub was_on: bool,
}Fields§
§was_on: boolTrait Implementations§
Source§impl Clone for SwitchResult
impl Clone for SwitchResult
Source§fn clone(&self) -> SwitchResult
fn clone(&self) -> SwitchResult
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 moreAuto Trait Implementations§
impl Freeze for SwitchResult
impl RefUnwindSafe for SwitchResult
impl Send for SwitchResult
impl Sync for SwitchResult
impl Unpin for SwitchResult
impl UnsafeUnpin for SwitchResult
impl UnwindSafe for SwitchResult
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