Enum svd_rs::addressblock::AddressBlockUsage
source · pub enum AddressBlockUsage {
Registers,
Buffer,
Reserved,
}
Expand description
Usage of the address block.
Variants§
Implementations§
source§impl AddressBlockUsage
impl AddressBlockUsage
sourcepub fn parse_str(s: &str) -> Option<Self>
pub fn parse_str(s: &str) -> Option<Self>
Parse a string into an AddressBlockUsage
value, returning Option::None
if the string is not valid.
sourcepub const fn as_str(self) -> &'static str
pub const fn as_str(self) -> &'static str
Convert this AddressBlockUsage
into a static string.
Trait Implementations§
source§impl Clone for AddressBlockUsage
impl Clone for AddressBlockUsage
source§fn clone(&self) -> AddressBlockUsage
fn clone(&self) -> AddressBlockUsage
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 AddressBlockUsage
impl Debug for AddressBlockUsage
source§impl Default for AddressBlockUsage
impl Default for AddressBlockUsage
source§impl PartialEq for AddressBlockUsage
impl PartialEq for AddressBlockUsage
source§fn eq(&self, other: &AddressBlockUsage) -> bool
fn eq(&self, other: &AddressBlockUsage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AddressBlockUsage
impl Eq for AddressBlockUsage
impl StructuralPartialEq for AddressBlockUsage
Auto Trait Implementations§
impl RefUnwindSafe for AddressBlockUsage
impl Send for AddressBlockUsage
impl Sync for AddressBlockUsage
impl Unpin for AddressBlockUsage
impl UnwindSafe for AddressBlockUsage
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