pub struct EnableControl(/* private fields */);Implementations§
Source§impl EnableControl
impl EnableControl
pub fn new_disable() -> Self
pub fn new_enable() -> Self
pub fn enabled(&self) -> bool
Trait Implementations§
Source§impl Debug for EnableControl
impl Debug for EnableControl
Auto Trait Implementations§
impl Freeze for EnableControl
impl RefUnwindSafe for EnableControl
impl Send for EnableControl
impl Sync for EnableControl
impl Unpin for EnableControl
impl UnwindSafe for EnableControl
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