[][src]Enum cortex_mpu::cortex_m0p::Size

pub enum Size {
    S256B,
    S1K,
    S1M,
    S1G,
    S4G,
}

Size of a memory region.

The Cortex-M MPUs only support this very limited number of size classes, and do not allow configuring an arbitrary memory region size.

Variants

S256B

256 Bytes.

S1K

1 KiB (1024 Bytes).

S1M

1 MiB (1024 KiB, 1048576 Bytes).

S1G

1 GiB.

S4G

4 GiB (covering the entire memory space).

Trait Implementations

impl PartialEq<Size> for Size[src]

impl Eq for Size[src]

impl Debug for Size[src]

impl Copy for Size[src]

impl Clone for Size[src]

Auto Trait Implementations

impl Unpin for Size

impl Send for Size

impl Sync for Size

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self