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