#[repr(C)]pub struct WireRange {
pub vmo: WireHandle,
pub offset: WireU64,
pub size: WireU64,
}
Expand description
The wire type corresponding to Range
.
Fields§
§vmo: WireHandle
§offset: WireU64
§size: WireU64
Trait Implementations§
Source§impl<___D> Decode<___D> for WireRangewhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for WireRangewhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl TakeFrom<WireRange> for Range
impl TakeFrom<WireRange> for Range
Source§fn take_from(from: &WireRange) -> Self
fn take_from(from: &WireRange) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl TakeFrom<WireRange> for Range
impl TakeFrom<WireRange> for Range
Source§fn take_from(from: &WireRange) -> Self
fn take_from(from: &WireRange) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl ZeroPadding for WireRange
impl ZeroPadding for WireRange
Source§fn zero_padding(out: &mut MaybeUninit<Self>)
fn zero_padding(out: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl !Freeze for WireRange
impl !RefUnwindSafe for WireRange
impl Send for WireRange
impl !Sync for WireRange
impl Unpin for WireRange
impl UnwindSafe for WireRange
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