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