pub(crate) struct Vtable {
pub clone: unsafe fn(_: &AtomicPtr<()>, _: *const u8, _: usize) -> Bytes,
pub drop: unsafe fn(_: &mut AtomicPtr<()>, _: *const u8, _: usize),
}
Fields
clone: unsafe fn(_: &AtomicPtr<()>, _: *const u8, _: usize) -> Bytes
fn(data, ptr, len)
drop: unsafe fn(_: &mut AtomicPtr<()>, _: *const u8, _: usize)
fn(data, ptr, len)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Vtable
impl Send for Vtable
impl Sync for Vtable
impl Unpin for Vtable
impl UnwindSafe for Vtable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more