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