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