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