Struct Fieldpresent
#[repr(transparent)]pub struct Fieldpresent(pub u32);Expand description
Indicates the presence or not of a valid field.
Tuple Fields§
§0: u32Implementations§
§impl Fieldpresent
impl Fieldpresent
pub const fn fieldpresent(&self) -> bool
pub const fn fieldpresent(&self) -> bool
Indicates if a valid field is present. Available only in the activated state.
pub const fn set_fieldpresent(&mut self, val: bool)
pub const fn set_fieldpresent(&mut self, val: bool)
Indicates if a valid field is present. Available only in the activated state.
pub const fn lockdetect(&self) -> bool
pub const fn lockdetect(&self) -> bool
Indicates if the low level has locked to the field.
pub const fn set_lockdetect(&mut self, val: bool)
pub const fn set_lockdetect(&mut self, val: bool)
Indicates if the low level has locked to the field.
Trait Implementations§
§impl Clone for Fieldpresent
impl Clone for Fieldpresent
§fn clone(&self) -> Fieldpresent
fn clone(&self) -> Fieldpresent
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 Fieldpresent
§impl Debug for Fieldpresent
impl Debug for Fieldpresent
§impl Default for Fieldpresent
impl Default for Fieldpresent
§fn default() -> Fieldpresent
fn default() -> Fieldpresent
Returns the “default value” for a type. Read more
impl Eq for Fieldpresent
§impl PartialEq for Fieldpresent
impl PartialEq 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 UnsafeUnpin 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