[−][src]Enum svd_expander::AccessSpec
Defines access rights for fields on the device, though it may be specified at a higher level than individual fields.
Values
ReadOnly
= Read access is permitted. Write operations have an undefined effect.ReadWrite
= Read and write accesses are permitted.ReadWriteOnce
= Read access is always permitted. Only the first write after a reset will affect the content. Following writes have an undefined effect.WriteOnce
= Read operations have undefined results. Only the first write after a reset will affect the content.WriteOnly
= Read operations have an undefined result. Write access is permitted.
Variants
Read access is permitted. Write operations have an undefined effect.
Read and write accesses are permitted.
Read access is always permitted. Only the first write after a reset will affect the content. Following writes have an undefined effect.
Read operations have undefined results. Only the first write after a reset will affect the content.
Read operations have an undefined result. Write access is permitted.
Implementations
impl AccessSpec
[src]
pub fn can_read(&self) -> bool
[src]
Whether the field is readable at least once.
pub fn can_write(&self) -> bool
[src]
Whether the field is writable at least once.
Trait Implementations
impl Clone for AccessSpec
[src]
fn clone(&self) -> AccessSpec
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AccessSpec
[src]
impl Debug for AccessSpec
[src]
impl PartialEq<AccessSpec> for AccessSpec
[src]
impl StructuralPartialEq for AccessSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for AccessSpec
impl Send for AccessSpec
impl Sync for AccessSpec
impl Unpin for AccessSpec
impl UnwindSafe for AccessSpec
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,