Struct uefi::proto::device_path::media::RelativeOffsetRange
source · #[repr(C, packed(1))]pub struct RelativeOffsetRange { /* private fields */ }
Expand description
Relative offset range media device path node.
Implementations§
source§impl RelativeOffsetRange
impl RelativeOffsetRange
sourcepub fn starting_offset(&self) -> u64
pub fn starting_offset(&self) -> u64
Offset of the first byte, relative to the parent device node.
sourcepub fn ending_offset(&self) -> u64
pub fn ending_offset(&self) -> u64
Offset of the last byte, relative to the parent device node.
Trait Implementations§
source§impl Debug for RelativeOffsetRange
impl Debug for RelativeOffsetRange
source§impl TryFrom<&DevicePathNode> for &RelativeOffsetRange
impl TryFrom<&DevicePathNode> for &RelativeOffsetRange
§type Error = NodeConversionError
type Error = NodeConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for RelativeOffsetRange
impl RefUnwindSafe for RelativeOffsetRange
impl Send for RelativeOffsetRange
impl Sync for RelativeOffsetRange
impl Unpin for RelativeOffsetRange
impl UnwindSafe for RelativeOffsetRange
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