pub struct Buffer<T> {
pub ptr: *mut T,
pub layout: Layout,
}
Fields
ptr: *mut T
layout: Layout
Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Buffer<T> where
T: RefUnwindSafe,
impl<T> !Send for Buffer<T>
impl<T> !Sync for Buffer<T>
impl<T> Unpin for Buffer<T>
impl<T> UnwindSafe for Buffer<T> where
T: RefUnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more