pub struct HurrayBuffer { /* private fields */ }Expand description
Opaque handle to a buffer registered with the Hurray C ABI.
This struct is not #[repr(C)]; its internal layout is an
implementation detail. Callers MUST treat it as a black-box opaque
pointer. The handle is heap-allocated by hurray_buffer_from_ptr and
MUST be released exactly once by hurray_buffer_destroy.
Trait Implementations§
impl Send for HurrayBuffer
Auto Trait Implementations§
impl !Sync for HurrayBuffer
impl Freeze for HurrayBuffer
impl RefUnwindSafe for HurrayBuffer
impl Unpin for HurrayBuffer
impl UnsafeUnpin for HurrayBuffer
impl UnwindSafe for HurrayBuffer
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