Struct svd_rs::writeconstraint::WriteConstraintRange
source · pub struct WriteConstraintRange {
pub min: u64,
pub max: u64,
}Expand description
The smallest and largest number that can be written.
Fields§
§min: u64Specify the smallest number to be written to the field
max: u64Specify the largest number to be written to the field.
Trait Implementations§
source§impl Clone for WriteConstraintRange
impl Clone for WriteConstraintRange
source§fn clone(&self) -> WriteConstraintRange
fn clone(&self) -> WriteConstraintRange
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 WriteConstraintRange
impl Debug for WriteConstraintRange
source§impl PartialEq<WriteConstraintRange> for WriteConstraintRange
impl PartialEq<WriteConstraintRange> for WriteConstraintRange
source§fn eq(&self, other: &WriteConstraintRange) -> bool
fn eq(&self, other: &WriteConstraintRange) -> bool
This method tests for
self and other values to be equal, and is used
by ==.