[−][src]Struct cpp_std::AllocatorOfUsize
C++ class: std::allocator<size_t>.
Methods
impl AllocatorOfUsize[src]
pub unsafe fn copy_from(
&mut self,
other: impl CastInto<Ref<AllocatorOfUsize>>
) -> MutRef<AllocatorOfUsize>[src]
&mut self,
other: impl CastInto<Ref<AllocatorOfUsize>>
) -> MutRef<AllocatorOfUsize>
Calls C++ function: std::allocator<size_t>& std::allocator<size_t>::operator=(const std::allocator<size_t>& other).
pub unsafe fn new() -> CppBox<AllocatorOfUsize>[src]
Calls C++ function: [constructor] void std::allocator<size_t>::allocator().
pub unsafe fn new_copy(
a: impl CastInto<Ref<AllocatorOfUsize>>
) -> CppBox<AllocatorOfUsize>[src]
a: impl CastInto<Ref<AllocatorOfUsize>>
) -> CppBox<AllocatorOfUsize>
Calls C++ function: [constructor] void std::allocator<size_t>::allocator(const std::allocator<size_t>& __a).
Trait Implementations
impl PartialEq<Ref<AllocatorOfUsize>> for AllocatorOfUsize[src]
fn eq(&self, arg2: &Ref<AllocatorOfUsize>) -> bool[src]
Calls C++ function: bool std::operator==(const std::allocator<size_t>& arg1, const std::allocator<size_t>& arg2).
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl CppDeletable for AllocatorOfUsize[src]
Auto Trait Implementations
impl Send for AllocatorOfUsize
impl Sync for AllocatorOfUsize
impl Unpin for AllocatorOfUsize
impl UnwindSafe for AllocatorOfUsize
impl RefUnwindSafe for AllocatorOfUsize
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> StaticUpcast<T> for T[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>, [src]
U: CastFrom<T>,