#[repr(u32)]pub enum RegionType {
Available = 1,
AcpiReclaimable = 3,
NonVolatile = 4,
Defective = 5,
}
Variants§
Trait Implementations§
Source§impl Clone for RegionType
impl Clone for RegionType
Source§fn clone(&self) -> RegionType
fn clone(&self) -> RegionType
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 moreSource§impl Debug for RegionType
impl Debug for RegionType
Source§impl From<RegionType> for u32
impl From<RegionType> for u32
Source§fn from(enum_value: RegionType) -> Self
fn from(enum_value: RegionType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RegionType
impl PartialEq for RegionType
impl Copy for RegionType
impl Eq for RegionType
impl StructuralPartialEq for RegionType
Auto Trait Implementations§
impl Freeze for RegionType
impl RefUnwindSafe for RegionType
impl Send for RegionType
impl Sync for RegionType
impl Unpin for RegionType
impl UnwindSafe for RegionType
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