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§
source§impl Clone for DimArrayIndex
impl Clone for DimArrayIndex
source§fn clone(&self) -> DimArrayIndex
fn clone(&self) -> DimArrayIndex
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 DimArrayIndex
impl Debug for DimArrayIndex
source§impl PartialEq for DimArrayIndex
impl PartialEq for DimArrayIndex
source§fn 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 ==
.impl Eq for DimArrayIndex
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§
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