#[repr(u8)]pub enum KnownPartitionId {
Free = 0,
Fat32 = 12,
}
Variants§
Trait Implementations§
Source§impl Clone for KnownPartitionId
impl Clone for KnownPartitionId
Source§fn clone(&self) -> KnownPartitionId
fn clone(&self) -> KnownPartitionId
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for KnownPartitionId
impl Debug for KnownPartitionId
Source§impl From<KnownPartitionId> for u8
impl From<KnownPartitionId> for u8
Source§fn from(enum_value: KnownPartitionId) -> Self
fn from(enum_value: KnownPartitionId) -> Self
Converts to this type from the input type.
Source§impl Ord for KnownPartitionId
impl Ord for KnownPartitionId
Source§impl PartialEq for KnownPartitionId
impl PartialEq for KnownPartitionId
Source§impl PartialOrd for KnownPartitionId
impl PartialOrd for KnownPartitionId
Source§fn partial_cmp(&self, other: &KnownPartitionId) -> Option<Ordering>
fn partial_cmp(&self, other: &KnownPartitionId) -> Option<Ordering>
Source§impl TryFrom<u8> for KnownPartitionId
impl TryFrom<u8> for KnownPartitionId
Source§type Error = TryFromPrimitiveError<KnownPartitionId>
type Error = TryFromPrimitiveError<KnownPartitionId>
The type returned in the event of a conversion error.
Source§fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
Source§impl TryFromPrimitive for KnownPartitionId
impl TryFromPrimitive for KnownPartitionId
const NAME: &'static str = "KnownPartitionId"
type Primitive = u8
type Error = TryFromPrimitiveError<KnownPartitionId>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for KnownPartitionId
impl Eq for KnownPartitionId
impl StructuralPartialEq for KnownPartitionId
Auto Trait Implementations§
impl Freeze for KnownPartitionId
impl RefUnwindSafe for KnownPartitionId
impl Send for KnownPartitionId
impl Sync for KnownPartitionId
impl Unpin for KnownPartitionId
impl UnwindSafe for KnownPartitionId
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Comparable<K> for Qwhere
Q: Ord + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Comparable<K> for Qwhere
Q: Ord + ?Sized,
K: Borrow<Q> + ?Sized,
Source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.