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