#[repr(u8)]pub enum RING_SIZE_A {
RING_NONE = 0,
}
Expand description
Size of address wrap region. If 0, don’t wrap. For values n > 0, only the lower n bits of the address will change. This wraps the address on a (1 << n) byte boundary, facilitating access to naturally-aligned ring buffers.
Ring sizes between 2 and 32768 bytes are possible. This can apply to either read or write addresses, based on value of RING_SEL.
Value on reset: 0
Variants§
RING_NONE = 0
0: 0
Trait Implementations§
Source§impl Clone for RING_SIZE_A
impl Clone for RING_SIZE_A
Source§fn clone(&self) -> RING_SIZE_A
fn clone(&self) -> RING_SIZE_A
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 RING_SIZE_A
impl Debug for RING_SIZE_A
Source§impl From<RING_SIZE_A> for u8
impl From<RING_SIZE_A> for u8
Source§fn from(variant: RING_SIZE_A) -> Self
fn from(variant: RING_SIZE_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RING_SIZE_A
impl PartialEq for RING_SIZE_A
impl Copy for RING_SIZE_A
impl Eq for RING_SIZE_A
impl StructuralPartialEq for RING_SIZE_A
Auto Trait Implementations§
impl Freeze for RING_SIZE_A
impl RefUnwindSafe for RING_SIZE_A
impl Send for RING_SIZE_A
impl Sync for RING_SIZE_A
impl Unpin for RING_SIZE_A
impl UnwindSafe for RING_SIZE_A
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