Enum svd_rs::registercluster::RegisterCluster
source · pub enum RegisterCluster {
Register(Register),
Cluster(Cluster),
}
Variants§
Implementations§
source§impl RegisterCluster
impl RegisterCluster
sourcepub fn description(&self) -> &Option<String>
pub fn description(&self) -> &Option<String>
Description of register or cluster
sourcepub fn derived_from(&self) -> &Option<String>
pub fn derived_from(&self) -> &Option<String>
Specify the name from which to inherit data
sourcepub fn address_offset(&self) -> u32
pub fn address_offset(&self) -> u32
Address offset of register or cluster
Trait Implementations§
source§impl Clone for RegisterCluster
impl Clone for RegisterCluster
source§fn clone(&self) -> RegisterCluster
fn clone(&self) -> RegisterCluster
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 RegisterCluster
impl Debug for RegisterCluster
source§impl From<MaybeArray<ClusterInfo>> for RegisterCluster
impl From<MaybeArray<ClusterInfo>> for RegisterCluster
source§impl From<MaybeArray<RegisterInfo>> for RegisterCluster
impl From<MaybeArray<RegisterInfo>> for RegisterCluster
source§impl PartialEq for RegisterCluster
impl PartialEq for RegisterCluster
source§fn eq(&self, other: &RegisterCluster) -> bool
fn eq(&self, other: &RegisterCluster) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RegisterCluster
Auto Trait Implementations§
impl RefUnwindSafe for RegisterCluster
impl Send for RegisterCluster
impl Sync for RegisterCluster
impl Unpin for RegisterCluster
impl UnwindSafe for RegisterCluster
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