Enum svd_rs::writeconstraint::WriteConstraint [−][src]
pub enum WriteConstraint {
WriteAsRead(bool),
UseEnumeratedValues(bool),
Range(WriteConstraintRange),
}Expand description
Define constraints for writing values to a field
Variants
WriteAsRead(bool)
Tuple Fields
0: boolIf true, only the last read value can be written.
UseEnumeratedValues(bool)
Tuple Fields
0: boolIf true, only the values listed in the enumeratedValues list can be written.
Range(WriteConstraintRange)
Tuple Fields
A range of numbers that can be written.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for WriteConstraint
impl Send for WriteConstraint
impl Sync for WriteConstraint
impl Unpin for WriteConstraint
impl UnwindSafe for WriteConstraint
Blanket Implementations
Mutably borrows from an owned value. Read more
