Struct uefi_raw::protocol::block::BlockIoMedia
source · #[repr(C)]pub struct BlockIoMedia {
pub media_id: u32,
pub removable_media: bool,
pub media_present: bool,
pub logical_partition: bool,
pub read_only: bool,
pub write_caching: bool,
pub block_size: u32,
pub io_align: u32,
pub last_block: Lba,
pub lowest_aligned_lba: Lba,
pub logical_blocks_per_physical_block: u32,
pub optimal_transfer_length_granularity: u32,
}
Expand description
Media information structure
Fields§
§media_id: u32
§removable_media: bool
§media_present: bool
§logical_partition: bool
§read_only: bool
§write_caching: bool
§block_size: u32
§io_align: u32
§last_block: Lba
§lowest_aligned_lba: Lba
§logical_blocks_per_physical_block: u32
§optimal_transfer_length_granularity: u32
Trait Implementations§
source§impl Clone for BlockIoMedia
impl Clone for BlockIoMedia
source§fn clone(&self) -> BlockIoMedia
fn clone(&self) -> BlockIoMedia
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 BlockIoMedia
impl Debug for BlockIoMedia
source§impl Hash for BlockIoMedia
impl Hash for BlockIoMedia
source§impl Ord for BlockIoMedia
impl Ord for BlockIoMedia
source§fn cmp(&self, other: &BlockIoMedia) -> Ordering
fn cmp(&self, other: &BlockIoMedia) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for BlockIoMedia
impl PartialEq for BlockIoMedia
source§impl PartialOrd for BlockIoMedia
impl PartialOrd for BlockIoMedia
impl Copy for BlockIoMedia
impl Eq for BlockIoMedia
impl StructuralPartialEq for BlockIoMedia
Auto Trait Implementations§
impl Freeze for BlockIoMedia
impl RefUnwindSafe for BlockIoMedia
impl Send for BlockIoMedia
impl Sync for BlockIoMedia
impl Unpin for BlockIoMedia
impl UnwindSafe for BlockIoMedia
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
)