pub struct HurrayBufferList { /* private fields */ }Expand description
Opaque handle to an ordered, owning list of HurrayBuffer handles.
Like HurrayBuffer, this struct is not #[repr(C)]; its layout is an
implementation detail and callers MUST treat it as a black-box pointer.
Keeping it opaque is what allows hurray_buffer_list_get to bounds-check
and to hand back a borrowed handle — a bare HurrayBuffer** array could do
neither.
Trait Implementations§
impl Send for HurrayBufferList
Auto Trait Implementations§
impl !Sync for HurrayBufferList
impl Freeze for HurrayBufferList
impl RefUnwindSafe for HurrayBufferList
impl Unpin for HurrayBufferList
impl UnsafeUnpin for HurrayBufferList
impl UnwindSafe for HurrayBufferList
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