Struct svd_rs::dimelement::DimArrayIndex
source · [−]pub struct DimArrayIndex {
pub header_enum_name: Option<String>,
pub values: Vec<EnumeratedValue>,
}
Expand description
Grouping element to create enumerations in the header file
This information is used for generating an enum in the device header file. The debugger may use this information to display the identifier string as well as the description. Just like symbolic constants making source code more readable, the system view in the debugger becomes more instructive
Fields
header_enum_name: Option<String>
Specify the base name of enumerations
values: Vec<EnumeratedValue>
Specify the values contained in the enumeration
Trait Implementations
sourceimpl Clone for DimArrayIndex
impl Clone for DimArrayIndex
sourcefn clone(&self) -> DimArrayIndex
fn clone(&self) -> DimArrayIndex
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DimArrayIndex
impl Debug for DimArrayIndex
sourceimpl PartialEq<DimArrayIndex> for DimArrayIndex
impl PartialEq<DimArrayIndex> for DimArrayIndex
sourcefn eq(&self, other: &DimArrayIndex) -> bool
fn eq(&self, other: &DimArrayIndex) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DimArrayIndex) -> bool
fn ne(&self, other: &DimArrayIndex) -> bool
This method tests for !=
.
impl StructuralPartialEq for DimArrayIndex
Auto Trait Implementations
impl RefUnwindSafe for DimArrayIndex
impl Send for DimArrayIndex
impl Sync for DimArrayIndex
impl Unpin for DimArrayIndex
impl UnwindSafe for DimArrayIndex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more