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