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