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