Enum svd_rs::bitrange::BitRangeType
source · pub enum BitRangeType {
BitRange,
OffsetWidth,
MsbLsb,
}
Expand description
The style of bit range that describes a BitRange
Variants§
BitRange
A bit range in the format: [<msb>:<lsb>]
OffsetWidth
A bit range described as offset and width
MsbLsb
A bit range described as lsb and msb as separate elements
Trait Implementations§
source§impl Clone for BitRangeType
impl Clone for BitRangeType
source§fn clone(&self) -> BitRangeType
fn clone(&self) -> BitRangeType
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 BitRangeType
impl Debug for BitRangeType
source§impl PartialEq for BitRangeType
impl PartialEq for BitRangeType
source§fn eq(&self, other: &BitRangeType) -> bool
fn eq(&self, other: &BitRangeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BitRangeType
impl Eq for BitRangeType
impl StructuralEq for BitRangeType
impl StructuralPartialEq for BitRangeType
Auto Trait Implementations§
impl RefUnwindSafe for BitRangeType
impl Send for BitRangeType
impl Sync for BitRangeType
impl Unpin for BitRangeType
impl UnwindSafe for BitRangeType
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