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§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§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
)