Enum UnalignTrp
pub enum UnalignTrp {
_0 = 0,
_1 = 1,
}Expand description
Enables unaligned access traps
Value on reset: 0
Variants§
_0 = 0
0: do not trap unaligned halfword and word accesses
_1 = 1
1: trap unaligned halfword and word accesses
Trait Implementations§
§impl Clone for UnalignTrp
impl Clone for UnalignTrp
§fn clone(&self) -> UnalignTrp
fn clone(&self) -> UnalignTrp
Returns a duplicate 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 more§impl Debug for UnalignTrp
impl Debug for UnalignTrp
§impl Format for UnalignTrp
impl Format for UnalignTrp
§impl From<UnalignTrp> for bool
impl From<UnalignTrp> for bool
§fn from(variant: UnalignTrp) -> Self
fn from(variant: UnalignTrp) -> Self
Converts to this type from the input type.
§impl PartialEq for UnalignTrp
impl PartialEq for UnalignTrp
impl Copy for UnalignTrp
impl Eq for UnalignTrp
impl StructuralPartialEq for UnalignTrp
Auto Trait Implementations§
impl Freeze for UnalignTrp
impl RefUnwindSafe for UnalignTrp
impl Send for UnalignTrp
impl Sync for UnalignTrp
impl Unpin for UnalignTrp
impl UnwindSafe for UnalignTrp
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