pub struct DataRef {
pub offset: usize,
pub size: usize,
}
Fields§
§offset: usize
offset of data, in bytes
size: usize
length of data, in bytes
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataRef
impl RefUnwindSafe for DataRef
impl Send for DataRef
impl Sync for DataRef
impl Unpin for DataRef
impl UnwindSafe for DataRef
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