Enum FlashnscSizeSize
#[repr(u8)]pub enum FlashnscSizeSize {
Show 16 variants
Disabled = 0,
_32 = 1,
_64 = 2,
_128 = 3,
_256 = 4,
_512 = 5,
_1024 = 6,
_2048 = 7,
_4096 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}Variants§
Disabled = 0
The region n is not defined as a non-secure callable region. Normal security attributes (secure or non-secure) are enforced.
_32 = 1
The region n is defined as non-secure callable with a 32-byte size.
_64 = 2
The region n is defined as non-secure callable with a 64-byte size.
_128 = 3
The region n is defined as non-secure callable with a 128-byte size.
_256 = 4
The region n is defined as non-secure callable with a 256-byte size.
_512 = 5
The region n is defined as non-secure callable with a 512-byte size.
_1024 = 6
The region n is defined as non-secure callable with a 1024-byte size.
_2048 = 7
The region n is defined as non-secure callable with a 2048-byte size.
_4096 = 8
The region n is defined as non-secure callable with a 4096-byte size.
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
§impl FlashnscSizeSize
impl FlashnscSizeSize
pub const fn from_bits(val: u8) -> FlashnscSizeSize
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for FlashnscSizeSize
impl Clone for FlashnscSizeSize
§fn clone(&self) -> FlashnscSizeSize
fn clone(&self) -> FlashnscSizeSize
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FlashnscSizeSize
§impl Debug for FlashnscSizeSize
impl Debug for FlashnscSizeSize
impl Eq for FlashnscSizeSize
§impl From<u8> for FlashnscSizeSize
impl From<u8> for FlashnscSizeSize
§fn from(val: u8) -> FlashnscSizeSize
fn from(val: u8) -> FlashnscSizeSize
Converts to this type from the input type.
§impl Ord for FlashnscSizeSize
impl Ord for FlashnscSizeSize
§fn cmp(&self, other: &FlashnscSizeSize) -> Ordering
fn cmp(&self, other: &FlashnscSizeSize) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for FlashnscSizeSize
impl PartialEq for FlashnscSizeSize
§impl PartialOrd for FlashnscSizeSize
impl PartialOrd for FlashnscSizeSize
impl StructuralPartialEq for FlashnscSizeSize
Auto Trait Implementations§
impl Freeze for FlashnscSizeSize
impl RefUnwindSafe for FlashnscSizeSize
impl Send for FlashnscSizeSize
impl Sync for FlashnscSizeSize
impl Unpin for FlashnscSizeSize
impl UnsafeUnpin for FlashnscSizeSize
impl UnwindSafe for FlashnscSizeSize
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