pub struct CqEqDoorbellValue(/* private fields */);
Implementations§
Source§impl CqEqDoorbellValue
impl CqEqDoorbellValue
Sourcepub const fn with_id_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_id_checked(self, value: u32) -> Result<Self, ()>
Bits: 0..24
Sourcepub const fn with_reserved_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_reserved_checked(self, value: u8) -> Result<Self, ()>
Bits: 24..32
Sourcepub const fn with_reserved(self, value: u8) -> Self
pub const fn with_reserved(self, value: u8) -> Self
Bits: 24..32
Sourcepub const fn set_reserved(&mut self, value: u8)
pub const fn set_reserved(&mut self, value: u8)
Bits: 24..32
Sourcepub const fn with_tail_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_tail_checked(self, value: u32) -> Result<Self, ()>
Bits: 32..63
Sourcepub const fn with_arm_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_arm_checked(self, value: bool) -> Result<Self, ()>
Bits: 63..64
Trait Implementations§
Source§impl Clone for CqEqDoorbellValue
impl Clone for CqEqDoorbellValue
Source§fn clone(&self) -> CqEqDoorbellValue
fn clone(&self) -> CqEqDoorbellValue
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 Debug for CqEqDoorbellValue
impl Debug for CqEqDoorbellValue
Source§impl Default for CqEqDoorbellValue
impl Default for CqEqDoorbellValue
Source§impl From<CqEqDoorbellValue> for u64
impl From<CqEqDoorbellValue> for u64
Source§fn from(v: CqEqDoorbellValue) -> u64
fn from(v: CqEqDoorbellValue) -> u64
Converts to this type from the input type.
Source§impl From<u64> for CqEqDoorbellValue
impl From<u64> for CqEqDoorbellValue
impl Copy for CqEqDoorbellValue
Auto Trait Implementations§
impl Freeze for CqEqDoorbellValue
impl RefUnwindSafe for CqEqDoorbellValue
impl Send for CqEqDoorbellValue
impl Sync for CqEqDoorbellValue
impl Unpin for CqEqDoorbellValue
impl UnwindSafe for CqEqDoorbellValue
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