Struct Fieldpresent
#[repr(transparent)]pub struct Fieldpresent(pub u32);
Expand description
Indicates the presence or not of a valid field
Tuple Fields§
§0: u32
Implementations§
§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 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.
pub const fn lockdetect(&self) -> bool
pub const fn lockdetect(&self) -> bool
Indicates if the low level has locked to the field
pub 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§
§impl Clone for Fieldpresent
impl Clone for Fieldpresent
§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 more§impl Default for Fieldpresent
impl Default for Fieldpresent
§fn default() -> Fieldpresent
fn default() -> Fieldpresent
Returns the “default value” for a type. Read more
§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
)