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