pub struct Disabled;
Expand description
Struct implementing ConstSwitch
with ENABLED = false
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Disabled
impl RefUnwindSafe for Disabled
impl Send for Disabled
impl Sync for Disabled
impl Unpin for Disabled
impl UnwindSafe for Disabled
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