[−][src]Struct cpp_std::VectorOfBool
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]
&mut self,
n: usize,
val: impl CastInto<Ref<bool>>
)
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]
&mut self,
first: impl CastInto<Ptr<bool>>,
last: impl CastInto<Ptr<bool>>
)
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]
&mut self,
other: impl CastInto<Ref<VectorOfBool>>
) -> MutRef<VectorOfBool>
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]
a: impl CastInto<Ref<AllocatorOfBool>>
) -> CppBox<VectorOfBool>
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]
n: usize,
a: impl CastInto<Ref<AllocatorOfBool>>
) -> CppBox<VectorOfBool>
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]
n: usize,
value: impl CastInto<Ref<bool>>,
a: impl CastInto<Ref<AllocatorOfBool>>
) -> CppBox<VectorOfBool>
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]
x: impl CastInto<Ref<VectorOfBool>>,
a: impl CastInto<Ref<AllocatorOfBool>>
) -> CppBox<VectorOfBool>
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]
first: impl CastInto<Ptr<bool>>,
last: impl CastInto<Ptr<bool>>,
alloc: impl CastInto<Ref<AllocatorOfBool>>
) -> CppBox<VectorOfBool>
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]
n: usize,
value: impl CastInto<Ref<bool>>
) -> CppBox<VectorOfBool>
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]
first: impl CastInto<Ptr<bool>>,
last: impl CastInto<Ptr<bool>>
) -> CppBox<VectorOfBool>
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]
other: impl CastInto<Ref<VectorOfBool>>
) -> CppBox<VectorOfBool>
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)
.
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
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]
Auto Trait Implementations
impl Send for VectorOfBool
impl Sync for VectorOfBool
impl Unpin for VectorOfBool
impl UnwindSafe for VectorOfBool
impl RefUnwindSafe for VectorOfBool
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>,