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§
impl IsEnabled for Disabled
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.
Auto Trait Implementations§
impl Freeze for Disabled
impl RefUnwindSafe for Disabled
impl Send for Disabled
impl Sync for Disabled
impl Unpin for Disabled
impl UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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