pub enum DirectAccessType {
Bit,
Byte,
Word,
DWord,
LWord,
Template,
}Variants§
Implementations§
Source§impl DirectAccessType
impl DirectAccessType
Sourcepub fn get_bit_width(&self) -> u64
pub fn get_bit_width(&self) -> u64
Returns the size of the bitaccess result
Trait Implementations§
Source§impl Clone for DirectAccessType
impl Clone for DirectAccessType
Source§fn clone(&self) -> DirectAccessType
fn clone(&self) -> DirectAccessType
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 moreSource§impl Debug for DirectAccessType
impl Debug for DirectAccessType
Source§impl<'de> Deserialize<'de> for DirectAccessType
impl<'de> Deserialize<'de> for DirectAccessType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for DirectAccessType
impl Hash for DirectAccessType
Source§impl PartialEq for DirectAccessType
impl PartialEq for DirectAccessType
Source§fn eq(&self, other: &DirectAccessType) -> bool
fn eq(&self, other: &DirectAccessType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DirectAccessType
impl Serialize for DirectAccessType
impl Copy for DirectAccessType
impl Eq for DirectAccessType
impl StructuralPartialEq for DirectAccessType
Auto Trait Implementations§
impl Freeze for DirectAccessType
impl RefUnwindSafe for DirectAccessType
impl Send for DirectAccessType
impl Sync for DirectAccessType
impl Unpin for DirectAccessType
impl UnsafeUnpin for DirectAccessType
impl UnwindSafe for DirectAccessType
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