#[repr(C)]pub struct SetVTable {
pub init_in_place_with_capacity: unsafe fn(PtrUninit, usize) -> PtrMut,
pub insert: unsafe fn(PtrMut, PtrMut) -> bool,
pub len: unsafe fn(PtrConst) -> usize,
pub contains: unsafe fn(PtrConst, PtrConst) -> bool,
pub iter_vtable: IterVTable<PtrConst>,
}Expand description
Virtual table for a Set<T>
Fields§
§init_in_place_with_capacity: unsafe fn(PtrUninit, usize) -> PtrMut§insert: unsafe fn(PtrMut, PtrMut) -> boolcf. SetInsertFn
len: unsafe fn(PtrConst) -> usizecf. SetLenFn
contains: unsafe fn(PtrConst, PtrConst) -> boolcf. SetContainsFn
iter_vtable: IterVTable<PtrConst>Virtual table for set iterator operations
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SetVTable
impl RefUnwindSafe for SetVTable
impl Send for SetVTable
impl Sync for SetVTable
impl Unpin for SetVTable
impl UnwindSafe for SetVTable
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