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