Enum gpt::disk::LogicalBlockSize
source · pub enum LogicalBlockSize {
Lb512,
Lb4096,
}
Expand description
Logical block/sector size of a GPT disk.
Variants§
Trait Implementations§
source§impl Clone for LogicalBlockSize
impl Clone for LogicalBlockSize
source§fn clone(&self) -> LogicalBlockSize
fn clone(&self) -> LogicalBlockSize
Returns a copy 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 LogicalBlockSize
impl Debug for LogicalBlockSize
source§impl Display for LogicalBlockSize
impl Display for LogicalBlockSize
source§impl From<LogicalBlockSize> for u64
impl From<LogicalBlockSize> for u64
source§fn from(lb: LogicalBlockSize) -> u64
fn from(lb: LogicalBlockSize) -> u64
Converts to this type from the input type.
source§impl From<LogicalBlockSize> for usize
impl From<LogicalBlockSize> for usize
source§fn from(lb: LogicalBlockSize) -> usize
fn from(lb: LogicalBlockSize) -> usize
Converts to this type from the input type.
source§impl PartialEq for LogicalBlockSize
impl PartialEq for LogicalBlockSize
source§fn eq(&self, other: &LogicalBlockSize) -> bool
fn eq(&self, other: &LogicalBlockSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u64> for LogicalBlockSize
impl TryFrom<u64> for LogicalBlockSize
impl Copy for LogicalBlockSize
impl Eq for LogicalBlockSize
impl StructuralPartialEq for LogicalBlockSize
Auto Trait Implementations§
impl Freeze for LogicalBlockSize
impl RefUnwindSafe for LogicalBlockSize
impl Send for LogicalBlockSize
impl Sync for LogicalBlockSize
impl Unpin for LogicalBlockSize
impl UnwindSafe for LogicalBlockSize
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