Struct gpt_disk_types::GptHeaderSignature
source · [−]#[repr(transparent)]pub struct GptHeaderSignature(pub U64Le);Expand description
GPT header signature.
Tuple Fields
0: U64LeImplementations
Trait Implementations
sourceimpl Clone for GptHeaderSignature
impl Clone for GptHeaderSignature
sourcefn clone(&self) -> GptHeaderSignature
fn clone(&self) -> GptHeaderSignature
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GptHeaderSignature
impl Debug for GptHeaderSignature
sourceimpl Default for GptHeaderSignature
impl Default for GptHeaderSignature
sourceimpl Display for GptHeaderSignature
impl Display for GptHeaderSignature
sourceimpl Hash for GptHeaderSignature
impl Hash for GptHeaderSignature
sourceimpl Ord for GptHeaderSignature
impl Ord for GptHeaderSignature
sourcefn cmp(&self, other: &GptHeaderSignature) -> Ordering
fn cmp(&self, other: &GptHeaderSignature) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<GptHeaderSignature> for GptHeaderSignature
impl PartialEq<GptHeaderSignature> for GptHeaderSignature
sourcefn eq(&self, other: &GptHeaderSignature) -> bool
fn eq(&self, other: &GptHeaderSignature) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GptHeaderSignature) -> bool
fn ne(&self, other: &GptHeaderSignature) -> bool
This method tests for !=.
sourceimpl PartialOrd<GptHeaderSignature> for GptHeaderSignature
impl PartialOrd<GptHeaderSignature> for GptHeaderSignature
sourcefn partial_cmp(&self, other: &GptHeaderSignature) -> Option<Ordering>
fn partial_cmp(&self, other: &GptHeaderSignature) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for GptHeaderSignature
impl Eq for GptHeaderSignature
impl Pod for GptHeaderSignature
impl StructuralEq for GptHeaderSignature
impl StructuralPartialEq for GptHeaderSignature
Auto Trait Implementations
impl RefUnwindSafe for GptHeaderSignature
impl Send for GptHeaderSignature
impl Sync for GptHeaderSignature
impl Unpin for GptHeaderSignature
impl UnwindSafe for GptHeaderSignature
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CheckedBitPattern for T where
T: AnyBitPattern,
impl<T> CheckedBitPattern for T where
T: AnyBitPattern,
type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during is_valid_bit_pattern. Read more
sourcefn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret bits as &Self.