pub struct RawResource {
pub ptr: *const u8,
pub len: usize,
}Expand description
A zero-copy buffer resource representing “Hilirisasi Data” (Downstreaming Data).
This struct holds a raw pointer to data that is NOT owned by this struct in the traditional sense (or rather, ownership is manually managed).
Fields§
§ptr: *const u8§len: usizeImplementations§
Auto Trait Implementations§
impl Freeze for RawResource
impl RefUnwindSafe for RawResource
impl !Send for RawResource
impl !Sync for RawResource
impl Unpin for RawResource
impl UnwindSafe for RawResource
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