pub struct AsynchronousEventRequestDw0(/* private fields */);
Implementations§
Source§impl AsynchronousEventRequestDw0
impl AsynchronousEventRequestDw0
Sourcepub const fn event_type(&self) -> u8
pub const fn event_type(&self) -> u8
Bits: 0..3
Sourcepub const fn with_event_type_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_event_type_checked(self, value: u8) -> Result<Self, ()>
Bits: 0..3
Sourcepub const fn with_event_type(self, value: u8) -> Self
pub const fn with_event_type(self, value: u8) -> Self
Bits: 0..3
Sourcepub const fn set_event_type(&mut self, value: u8)
pub const fn set_event_type(&mut self, value: u8)
Bits: 0..3
Sourcepub const fn information(&self) -> u8
pub const fn information(&self) -> u8
Bits: 8..16
Sourcepub const fn with_information_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_information_checked(self, value: u8) -> Result<Self, ()>
Bits: 8..16
Sourcepub const fn with_information(self, value: u8) -> Self
pub const fn with_information(self, value: u8) -> Self
Bits: 8..16
Sourcepub const fn set_information(&mut self, value: u8)
pub const fn set_information(&mut self, value: u8)
Bits: 8..16
Sourcepub const fn log_page_identifier(&self) -> u8
pub const fn log_page_identifier(&self) -> u8
Bits: 16..24
Sourcepub const fn with_log_page_identifier_checked(
self,
value: u8,
) -> Result<Self, ()>
pub const fn with_log_page_identifier_checked( self, value: u8, ) -> Result<Self, ()>
Bits: 16..24
Sourcepub const fn with_log_page_identifier(self, value: u8) -> Self
pub const fn with_log_page_identifier(self, value: u8) -> Self
Bits: 16..24
Sourcepub const fn set_log_page_identifier(&mut self, value: u8)
pub const fn set_log_page_identifier(&mut self, value: u8)
Bits: 16..24
Trait Implementations§
Source§impl Clone for AsynchronousEventRequestDw0
impl Clone for AsynchronousEventRequestDw0
Source§fn clone(&self) -> AsynchronousEventRequestDw0
fn clone(&self) -> AsynchronousEventRequestDw0
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 AsynchronousEventRequestDw0
impl Debug for AsynchronousEventRequestDw0
Source§impl From<AsynchronousEventRequestDw0> for u32
impl From<AsynchronousEventRequestDw0> for u32
Source§fn from(v: AsynchronousEventRequestDw0) -> u32
fn from(v: AsynchronousEventRequestDw0) -> u32
Converts to this type from the input type.
Source§impl From<u32> for AsynchronousEventRequestDw0
impl From<u32> for AsynchronousEventRequestDw0
impl Copy for AsynchronousEventRequestDw0
Auto Trait Implementations§
impl Freeze for AsynchronousEventRequestDw0
impl RefUnwindSafe for AsynchronousEventRequestDw0
impl Send for AsynchronousEventRequestDw0
impl Sync for AsynchronousEventRequestDw0
impl Unpin for AsynchronousEventRequestDw0
impl UnwindSafe for AsynchronousEventRequestDw0
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