Enum svd_rs::field::Field [−][src]
pub enum Field {
Single(FieldInfo),
Array(FieldInfo, DimElement),
}
Expand description
Describes a field or fields of a register.
Variants
Single(FieldInfo)
A single field.
Tuple Fields of Single
0: FieldInfo
Array(FieldInfo, DimElement)
A field array.
Tuple Fields of Array
0: FieldInfo
1: DimElement
Methods from Deref<Target = FieldInfo>
pub fn modify_from(
&mut self,
builder: FieldInfoBuilder,
lvl: ValidateLevel
) -> Result<(), SvdError>
pub fn modify_from(
&mut self,
builder: FieldInfoBuilder,
lvl: ValidateLevel
) -> Result<(), SvdError>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Field
impl UnwindSafe for Field
Blanket Implementations
Mutably borrows from an owned value. Read more