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