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