#[repr(C)]pub struct AllocatorOfVoid { /* private fields */ }Expand description
C++ class: std::allocator<void*>.
Implementations§
Source§impl AllocatorOfVoid
impl AllocatorOfVoid
Sourcepub unsafe fn copy_from(
&mut self,
other: impl CastInto<Ref<AllocatorOfVoid>>,
) -> MutRef<AllocatorOfVoid>
pub unsafe fn copy_from( &mut self, other: impl CastInto<Ref<AllocatorOfVoid>>, ) -> MutRef<AllocatorOfVoid>
Calls C++ function: std::allocator<void*>& std::allocator<void*>::operator=(const std::allocator<void*>& other).
Sourcepub unsafe fn new() -> CppBox<AllocatorOfVoid>
pub unsafe fn new() -> CppBox<AllocatorOfVoid>
Calls C++ function: [constructor] void std::allocator<void*>::allocator().
Sourcepub unsafe fn new_copy(
a: impl CastInto<Ref<AllocatorOfVoid>>,
) -> CppBox<AllocatorOfVoid>
pub unsafe fn new_copy( a: impl CastInto<Ref<AllocatorOfVoid>>, ) -> CppBox<AllocatorOfVoid>
Calls C++ function: [constructor] void std::allocator<void*>::allocator(const std::allocator<void*>& __a).
Trait Implementations§
Source§impl CppDeletable for AllocatorOfVoid
impl CppDeletable for AllocatorOfVoid
Source§impl PartialEq<Ref<AllocatorOfVoid>> for AllocatorOfVoid
impl PartialEq<Ref<AllocatorOfVoid>> for AllocatorOfVoid
Auto Trait Implementations§
impl Freeze for AllocatorOfVoid
impl RefUnwindSafe for AllocatorOfVoid
impl Send for AllocatorOfVoid
impl Sync for AllocatorOfVoid
impl Unpin for AllocatorOfVoid
impl UnwindSafe for AllocatorOfVoid
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