pub struct InterruptEnable {
pub global: bool,
pub over_current: bool,
pub over_voltage: bool,
pub thermal_shutdown: bool,
}Expand description
Interrupt enable register fields.
Fields§
§global: bool§over_current: bool§over_voltage: bool§thermal_shutdown: boolImplementations§
Trait Implementations§
Source§impl Clone for InterruptEnable
impl Clone for InterruptEnable
Source§fn clone(&self) -> InterruptEnable
fn clone(&self) -> InterruptEnable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InterruptEnable
Source§impl Debug for InterruptEnable
impl Debug for InterruptEnable
Source§impl Default for InterruptEnable
impl Default for InterruptEnable
Source§fn default() -> InterruptEnable
fn default() -> InterruptEnable
Returns the “default value” for a type. Read more
impl Eq for InterruptEnable
Source§impl PartialEq for InterruptEnable
impl PartialEq for InterruptEnable
Source§fn eq(&self, other: &InterruptEnable) -> bool
fn eq(&self, other: &InterruptEnable) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterruptEnable
Auto Trait Implementations§
impl Freeze for InterruptEnable
impl RefUnwindSafe for InterruptEnable
impl Send for InterruptEnable
impl Sync for InterruptEnable
impl Unpin for InterruptEnable
impl UnsafeUnpin for InterruptEnable
impl UnwindSafe for InterruptEnable
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