Enum patch_svd::output::AccessType [−][src]
pub enum AccessType { ReadOnly, WriteOnly, ReadWrite, WriteOnce, ReadWriteOnce, }
Define access rights.
Access rights can be redefined at any lower level.
Variants
Read access is permitted. Write operations have an undefined result.
Read operations have an undefined result. Write access is permitted.
Read and write accesses are permitted.
Writes affect the state of the register and reads return the register
Read operations have an undefined results. Only the first write after reset has an effect.
Read access is always permitted. Only the first write access after a reset will have an effect on the content.
Other write operations have an undefined result.
Trait Implementations
impl Clone for AccessType
[src]
fn clone(&self) -> AccessType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AccessType
[src]
impl<'de> Deserialize<'de> for AccessType
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for AccessType
[src]
impl PartialEq<AccessType> for AccessType
[src]
fn eq(&self, other: &AccessType) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl StructuralEq for AccessType
[src]
impl StructuralPartialEq for AccessType
[src]
Auto Trait Implementations
impl RefUnwindSafe for AccessType
impl Send for AccessType
impl Sync for AccessType
impl Unpin for AccessType
impl UnwindSafe for AccessType
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,