[][src]Struct cpp_std::VectorOfBool

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

C++ class: std::vector<bool, std::allocator<bool>>.

Methods

impl VectorOfBool[src]

pub unsafe fn assign_usize_bool(
    &mut self,
    n: usize,
    val: impl CastInto<Ref<bool>>
)
[src]

Calls C++ function: void std::vector<bool, std::allocator<bool>>::assign(size_t __n, const bool& __val).

pub unsafe fn assign_2_bool(
    &mut self,
    first: impl CastInto<Ptr<bool>>,
    last: impl CastInto<Ptr<bool>>
)
[src]

Calls C++ function: void std::vector<bool, std::allocator<bool>>::assign(const bool* first, const bool* last).

pub unsafe fn capacity(&self) -> usize[src]

Calls C++ function: size_t std::vector<bool, std::allocator<bool>>::capacity() const.

pub unsafe fn clear(&mut self)[src]

Calls C++ function: void std::vector<bool, std::allocator<bool>>::clear().

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

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

pub unsafe fn empty(&self) -> bool[src]

Calls C++ function: bool std::vector<bool, std::allocator<bool>>::empty() const.

pub unsafe fn max_size(&self) -> usize[src]

Calls C++ function: size_t std::vector<bool, std::allocator<bool>>::max_size() const.

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

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

pub unsafe fn from_allocator_of_bool(
    a: impl CastInto<Ref<AllocatorOfBool>>
) -> CppBox<VectorOfBool>
[src]

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

pub unsafe fn from_usize_allocator_of_bool(
    n: usize,
    a: impl CastInto<Ref<AllocatorOfBool>>
) -> CppBox<VectorOfBool>
[src]

Calls C++ function: [constructor] void std::vector<bool, std::allocator<bool>>::vector(size_t __n, const std::allocator<bool>& __a = …).

pub unsafe fn from_usize_bool_allocator_of_bool(
    n: usize,
    value: impl CastInto<Ref<bool>>,
    a: impl CastInto<Ref<AllocatorOfBool>>
) -> CppBox<VectorOfBool>
[src]

Calls C++ function: [constructor] void std::vector<bool, std::allocator<bool>>::vector(size_t __n, const bool& __value, const std::allocator<bool>& __a = …).

pub unsafe fn from_vector_of_bool_allocator_of_bool(
    x: impl CastInto<Ref<VectorOfBool>>,
    a: impl CastInto<Ref<AllocatorOfBool>>
) -> CppBox<VectorOfBool>
[src]

Calls C++ function: [constructor] void std::vector<bool, std::allocator<bool>>::vector(const std::vector<bool, std::allocator<bool>>& __x, const std::allocator<bool>& __a).

pub unsafe fn from_2_bool_allocator_of_bool(
    first: impl CastInto<Ptr<bool>>,
    last: impl CastInto<Ptr<bool>>,
    alloc: impl CastInto<Ref<AllocatorOfBool>>
) -> CppBox<VectorOfBool>
[src]

Calls C++ function: [constructor] void std::vector<bool, std::allocator<bool>>::vector(const bool* first, const bool* last, std::allocator<bool> alloc = …).

pub unsafe fn from_usize(n: usize) -> CppBox<VectorOfBool>[src]

Calls C++ function: [constructor] void std::vector<bool, std::allocator<bool>>::vector(size_t __n).

pub unsafe fn from_usize_bool(
    n: usize,
    value: impl CastInto<Ref<bool>>
) -> CppBox<VectorOfBool>
[src]

Calls C++ function: [constructor] void std::vector<bool, std::allocator<bool>>::vector(size_t __n, const bool& __value).

pub unsafe fn from_2_bool(
    first: impl CastInto<Ptr<bool>>,
    last: impl CastInto<Ptr<bool>>
) -> CppBox<VectorOfBool>
[src]

Calls C++ function: [constructor] void std::vector<bool, std::allocator<bool>>::vector(const bool* first, const bool* last).

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

Calls C++ function: [constructor] void std::vector<bool, std::allocator<bool>>::vector(const std::vector<bool, std::allocator<bool>>& other).

pub unsafe fn pop_back(&mut self)[src]

Calls C++ function: void std::vector<bool, std::allocator<bool>>::pop_back().

pub unsafe fn push_back(&mut self, x: impl CastInto<Ref<bool>>)[src]

Calls C++ function: void std::vector<bool, std::allocator<bool>>::push_back(const bool& __x).

pub unsafe fn reserve(&mut self, n: usize)[src]

Calls C++ function: void std::vector<bool, std::allocator<bool>>::reserve(size_t __n).

pub unsafe fn resize_1a(&mut self, new_size: usize)[src]

Calls C++ function: void std::vector<bool, std::allocator<bool>>::resize(size_t __new_size).

pub unsafe fn resize_2a(&mut self, new_size: usize, x: impl CastInto<Ref<bool>>)[src]

Calls C++ function: void std::vector<bool, std::allocator<bool>>::resize(size_t __new_size, const bool& __x).

pub unsafe fn shrink_to_fit(&mut self)[src]

Calls C++ function: void std::vector<bool, std::allocator<bool>>::shrink_to_fit().

pub unsafe fn size(&self) -> usize[src]

Calls C++ function: size_t std::vector<bool, std::allocator<bool>>::size() const.

pub unsafe fn swap(&mut self, x: impl CastInto<MutRef<VectorOfBool>>)[src]

Calls C++ function: void std::vector<bool, std::allocator<bool>>::swap(std::vector<bool, std::allocator<bool>>& __x).

Trait Implementations

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

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

Calls C++ function: bool std::operator==(const std::vector<bool, std::allocator<bool>>& __x, const std::vector<bool, std::allocator<bool>>& __y).

impl Lt<Ref<VectorOfBool>> for VectorOfBool[src]

unsafe fn lt(&self, y: &Ref<VectorOfBool>) -> bool[src]

Calls C++ function: bool std::operator<(const std::vector<bool, std::allocator<bool>>& __x, const std::vector<bool, std::allocator<bool>>& __y).

impl Le<Ref<VectorOfBool>> for VectorOfBool[src]

unsafe fn le(&self, y: &Ref<VectorOfBool>) -> bool[src]

Calls C++ function: bool std::operator<=(const std::vector<bool, std::allocator<bool>>& __x, const std::vector<bool, std::allocator<bool>>& __y).

impl Gt<Ref<VectorOfBool>> for VectorOfBool[src]

unsafe fn gt(&self, y: &Ref<VectorOfBool>) -> bool[src]

Calls C++ function: bool std::operator>(const std::vector<bool, std::allocator<bool>>& __x, const std::vector<bool, std::allocator<bool>>& __y).

impl Ge<Ref<VectorOfBool>> for VectorOfBool[src]

unsafe fn ge(&self, y: &Ref<VectorOfBool>) -> bool[src]

Calls C++ function: bool std::operator>=(const std::vector<bool, std::allocator<bool>>& __x, const std::vector<bool, std::allocator<bool>>& __y).

impl CppDeletable for VectorOfBool[src]

unsafe fn delete(&mut self)[src]

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

impl Size for VectorOfBool[src]

unsafe fn size(&self) -> usize[src]

Calls C++ function: size_t std::vector<bool, std::allocator<bool>>::size() const.

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]