Enum Confstrptrvalid
#[repr(u8)]pub enum Confstrptrvalid {
NOT_RELEVANT = 0,
ADDRESS = 1,
}
Variants§
NOT_RELEVANT = 0
The confstrptr0..confstrptr3 holds information which is not relevant to the configuration string.
ADDRESS = 1
The confstrptr0..confstrptr3 holds the address of the configuration string.
Implementations§
§impl Confstrptrvalid
impl Confstrptrvalid
pub const fn from_bits(val: u8) -> Confstrptrvalid
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Confstrptrvalid
impl Clone for Confstrptrvalid
§fn clone(&self) -> Confstrptrvalid
fn clone(&self) -> Confstrptrvalid
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 From<u8> for Confstrptrvalid
impl From<u8> for Confstrptrvalid
§fn from(val: u8) -> Confstrptrvalid
fn from(val: u8) -> Confstrptrvalid
Converts to this type from the input type.
§impl Ord for Confstrptrvalid
impl Ord for Confstrptrvalid
§impl PartialEq for Confstrptrvalid
impl PartialEq for Confstrptrvalid
§impl PartialOrd for Confstrptrvalid
impl PartialOrd for Confstrptrvalid
impl Copy for Confstrptrvalid
impl Eq for Confstrptrvalid
impl StructuralPartialEq for Confstrptrvalid
Auto Trait Implementations§
impl Freeze for Confstrptrvalid
impl RefUnwindSafe for Confstrptrvalid
impl Send for Confstrptrvalid
impl Sync for Confstrptrvalid
impl Unpin for Confstrptrvalid
impl UnwindSafe for Confstrptrvalid
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
)