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