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