pub struct Enabled;
Expand description
A state where the Regulator
is known to be enabled.
The enable
reference count held by this state is decremented when it is
dropped.
Trait Implementations§
Source§impl RegulatorState for Enabled
impl RegulatorState for Enabled
Source§const DISABLE_ON_DROP: bool = true
const DISABLE_ON_DROP: bool = true
Whether the regulator should be disabled when dropped.
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
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot
. Read more