#[repr(C)]pub struct opal_geometry {
pub align: __u8,
pub logical_block_size: __u32,
pub alignment_granularity: __u64,
pub lowest_aligned_lba: __u64,
pub __align: [__u8; 3],
}Fields§
§align: __u8§logical_block_size: __u32§alignment_granularity: __u64§lowest_aligned_lba: __u64§__align: [__u8; 3]Trait Implementations§
Source§impl Clone for opal_geometry
impl Clone for opal_geometry
Source§fn clone(&self) -> opal_geometry
fn clone(&self) -> opal_geometry
Returns a duplicate 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 opal_geometry
impl Debug for opal_geometry
Source§impl Default for opal_geometry
impl Default for opal_geometry
Source§fn default() -> opal_geometry
fn default() -> opal_geometry
Returns the “default value” for a type. Read more
Source§impl PartialEq for opal_geometry
impl PartialEq for opal_geometry
impl Copy for opal_geometry
impl Eq for opal_geometry
impl StructuralPartialEq for opal_geometry
Auto Trait Implementations§
impl Freeze for opal_geometry
impl RefUnwindSafe for opal_geometry
impl Send for opal_geometry
impl Sync for opal_geometry
impl Unpin for opal_geometry
impl UnwindSafe for opal_geometry
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