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