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