[−][src]Struct svd_expander::EnumeratedValueSetSpec
A set of values that can be written to and/or read from a field.
Fields
name: Option<String>
The name of the set of enumerated values.
usage: Option<EnumeratedValueUsageSpec>
Whether the values in this set can be read from the field, written to it, or both.
values: Vec<EnumeratedValueSpec>
The list of values.
Implementations
impl EnumeratedValueSetSpec
[src]
pub fn derived_from_path(&self) -> Option<String>
[src]
The full path to the enumerated value set that this set inherits from (if any).
pub fn path(&self) -> Option<String>
[src]
The full path to this enumerated value set. Will be None
if this set does not
have a name
(name
is None
).
Trait Implementations
impl Clone for EnumeratedValueSetSpec
[src]
fn clone(&self) -> EnumeratedValueSetSpec
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for EnumeratedValueSetSpec
[src]
impl PartialEq<EnumeratedValueSetSpec> for EnumeratedValueSetSpec
[src]
fn eq(&self, other: &EnumeratedValueSetSpec) -> bool
[src]
fn ne(&self, other: &EnumeratedValueSetSpec) -> bool
[src]
impl StructuralPartialEq for EnumeratedValueSetSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for EnumeratedValueSetSpec
impl Send for EnumeratedValueSetSpec
impl Sync for EnumeratedValueSetSpec
impl Unpin for EnumeratedValueSetSpec
impl UnwindSafe for EnumeratedValueSetSpec
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,