[−][src]Struct svd_expander::FieldSpec
Describes a field on a register.
Fields
name: String
A name that identfies the field. Must be unique within the parent register.
description: Option<String>
Description of the field's usage, purpose, and/or operation.
offset: u32
The position of the least-significant bit of this field within its register.
width: u32
The bit width of the field.
access: Option<AccessSpec>
The access rights to the field.
write_constraint: Option<WriteConstraintSpec>
Constraints for writing values to the field.
modified_write_values: Option<ModifiedWriteValuesSpec>
Describes the manipulation of data written to this field. If None
, the value written to
the field is the value stored in the field.
enumerated_value_sets: Vec<EnumeratedValueSetSpec>
Implementations
impl FieldSpec
[src]
pub fn derived_from_path(&self) -> Option<String>
[src]
The full path to the field that this field inherits from (if any).
pub fn path(&self) -> String
[src]
The full path to this field.
Trait Implementations
impl Clone for FieldSpec
[src]
impl Debug for FieldSpec
[src]
impl PartialEq<FieldSpec> for FieldSpec
[src]
impl StructuralPartialEq for FieldSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for FieldSpec
impl Send for FieldSpec
impl Sync for FieldSpec
impl Unpin for FieldSpec
impl UnwindSafe for FieldSpec
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>,