[−][src]Struct disk_initializer::gpt::RawUUID
A raw uuid representation.
Fields
d1: u32
Time low part.
d2: u16
Time mid part.
d3: u16
Time high part and version.
d4: [u8; 8]
Node.
Implementations
impl RawUUID
[src]
pub fn from_fields(d1: u32, d2: u16, d3: u16, d4: [u8; 8]) -> Self
[src]
Create a RawUUID from raw parts
pub fn to_uuid(self) -> Uuid
[src]
Convert to a UUID instance.
pub fn from_uuid(uuid: Uuid) -> Self
[src]
Convert a UUID to a RawUUID.
pub fn from_slice_le(data: &[u8]) -> Self
[src]
Create a RawUUID from a little endian slice of bytes.
pub fn to_bytes_le(&self) -> [u8; 16]
[src]
Convert to a little endian byte array.
Trait Implementations
impl Clone for RawUUID
[src]
impl Copy for RawUUID
[src]
impl Debug for RawUUID
[src]
impl Default for RawUUID
[src]
impl Eq for RawUUID
[src]
impl PartialEq<RawUUID> for RawUUID
[src]
impl StructuralEq for RawUUID
[src]
impl StructuralPartialEq for RawUUID
[src]
Auto Trait Implementations
impl RefUnwindSafe for RawUUID
impl Send for RawUUID
impl Sync for RawUUID
impl Unpin for RawUUID
impl UnwindSafe for RawUUID
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,