#[repr(transparent)]pub struct Fieldpresent(pub u32);
Expand description
Indicates the presence or not of a valid field
Tuple Fields§
§0: u32
Implementations§
Source§impl Fieldpresent
impl Fieldpresent
Sourcepub const fn fieldpresent(&self) -> bool
pub const fn fieldpresent(&self) -> bool
Indicates if a valid field is present. Available only in the activated state.
Sourcepub fn set_fieldpresent(&mut self, val: bool)
pub fn set_fieldpresent(&mut self, val: bool)
Indicates if a valid field is present. Available only in the activated state.
Sourcepub const fn lockdetect(&self) -> bool
pub const fn lockdetect(&self) -> bool
Indicates if the low level has locked to the field
Sourcepub fn set_lockdetect(&mut self, val: bool)
pub fn set_lockdetect(&mut self, val: bool)
Indicates if the low level has locked to the field
Trait Implementations§
Source§impl Clone for Fieldpresent
impl Clone for Fieldpresent
Source§fn clone(&self) -> Fieldpresent
fn clone(&self) -> Fieldpresent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for Fieldpresent
impl Default for Fieldpresent
Source§fn default() -> Fieldpresent
fn default() -> Fieldpresent
Returns the “default value” for a type. Read more
Source§impl PartialEq for Fieldpresent
impl PartialEq for Fieldpresent
impl Copy for Fieldpresent
impl Eq for Fieldpresent
impl StructuralPartialEq for Fieldpresent
Auto Trait Implementations§
impl Freeze for Fieldpresent
impl RefUnwindSafe for Fieldpresent
impl Send for Fieldpresent
impl Sync for Fieldpresent
impl Unpin for Fieldpresent
impl UnwindSafe for Fieldpresent
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)