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