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: u64
Specify the smallest number to be written to the field
max: u64
Specify 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 for WriteConstraintRange
impl PartialEq 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 ==
.impl Copy for WriteConstraintRange
impl Eq for WriteConstraintRange
impl StructuralPartialEq for WriteConstraintRange
Auto Trait Implementations§
impl RefUnwindSafe for WriteConstraintRange
impl Send for WriteConstraintRange
impl Sync for WriteConstraintRange
impl Unpin for WriteConstraintRange
impl UnwindSafe for WriteConstraintRange
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more