Struct device_driver_generation::Register
source · pub struct Register {
pub name: String,
pub rw_type: RWType,
pub address: u64,
pub size_bits: u64,
pub description: Option<String>,
pub reset_value: Option<ResetValue>,
pub fields: FieldCollection,
}Fields§
§name: String§rw_type: RWType§address: u64§size_bits: u64§description: Option<String>§reset_value: Option<ResetValue>§fields: FieldCollectionTrait Implementations§
source§impl<'de> Deserialize<'de> for Register
impl<'de> Deserialize<'de> for Register
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 Ord for Register
impl Ord for Register
source§impl PartialEq for Register
impl PartialEq for Register
source§impl PartialOrd for Register
impl PartialOrd for Register
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for Register
impl StructuralEq for Register
impl StructuralPartialEq for Register
Auto Trait Implementations§
impl RefUnwindSafe for Register
impl Send for Register
impl Sync for Register
impl Unpin for Register
impl UnwindSafe for Register
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.