[][src]Struct cpp_std::AllocatorOfChar

#[repr(C)]
pub struct AllocatorOfChar { /* fields omitted */ }

C++ class: std::allocator<char>.

Methods

impl AllocatorOfChar[src]

pub unsafe fn copy_from(
    &mut self,
    other: impl CastInto<Ref<AllocatorOfChar>>
) -> MutRef<AllocatorOfChar>
[src]

Calls C++ function: std::allocator<char>& std::allocator<char>::operator=(const std::allocator<char>& other).

pub unsafe fn new() -> CppBox<AllocatorOfChar>[src]

Calls C++ function: [constructor] void std::allocator<char>::allocator().

pub unsafe fn new_copy(
    a: impl CastInto<Ref<AllocatorOfChar>>
) -> CppBox<AllocatorOfChar>
[src]

Calls C++ function: [constructor] void std::allocator<char>::allocator(const std::allocator<char>& __a).

Trait Implementations

impl PartialEq<Ref<AllocatorOfChar>> for AllocatorOfChar[src]

fn eq(&self, arg2: &Ref<AllocatorOfChar>) -> bool[src]

Calls C++ function: bool std::operator==(const std::allocator<char>& arg1, const std::allocator<char>& arg2).

impl CppDeletable for AllocatorOfChar[src]

unsafe fn delete(&mut self)[src]

Calls C++ function: [destructor] void std::allocator<char>::~allocator().

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]