Struct device_driver_generation::RegisterBlock
source · pub struct RegisterBlock {
pub base_address: Option<u64>,
pub repeat: Option<RegisterRepeat>,
pub registers: RegisterCollection,
}Fields§
§base_address: Option<u64>§repeat: Option<RegisterRepeat>§registers: RegisterCollectionTrait Implementations§
source§impl Clone for RegisterBlock
impl Clone for RegisterBlock
source§fn clone(&self) -> RegisterBlock
fn clone(&self) -> RegisterBlock
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 RegisterBlock
impl Debug for RegisterBlock
source§impl<'de> Deserialize<'de> for RegisterBlock
impl<'de> Deserialize<'de> for RegisterBlock
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 From<RegisterBlock> for RegisterKind
impl From<RegisterBlock> for RegisterKind
source§fn from(value: RegisterBlock) -> Self
fn from(value: RegisterBlock) -> Self
Converts to this type from the input type.
source§impl PartialEq for RegisterBlock
impl PartialEq for RegisterBlock
impl Eq for RegisterBlock
impl StructuralPartialEq for RegisterBlock
Auto Trait Implementations§
impl Freeze for RegisterBlock
impl RefUnwindSafe for RegisterBlock
impl !Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.