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