[][src]Struct cpp_std::AllocatorOfLong

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

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

Methods

impl AllocatorOfLong[src]

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

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

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

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

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

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

Trait Implementations

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

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

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

impl CppDeletable for AllocatorOfLong[src]

unsafe fn delete(&mut self)[src]

Calls C++ function: [destructor] void std::allocator<long>::~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]