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