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