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