pub struct Disabled;
Expand description
A state where this Regulator
handle has not specifically asked for the
underlying regulator to be enabled. This means that this reference does not
own an enable
reference count, but the regulator may still be on.
Trait Implementations§
Source§impl RegulatorState for Disabled
impl RegulatorState for Disabled
Source§const DISABLE_ON_DROP: bool = false
const DISABLE_ON_DROP: bool = false
Whether the regulator should be disabled when dropped.
impl IsEnabled for Disabled
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
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