pub struct Data {
pub ptr: *const u8,
pub size: usize,
}
Expand description
This is used to pass cached data back to the main thread without having to copy it
Fields§
§ptr: *const u8
§size: usize
Implementations§
Trait Implementations§
Auto Trait Implementations§
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