[−][src]Struct cpp_std::VectorOfI16
C++ class: std::vector<int16_t, std::allocator<int16_t>>
.
Methods
impl VectorOfI16
[src]
pub unsafe fn assign_usize_i16(
&mut self,
n: usize,
val: impl CastInto<Ref<i16>>
)
[src]
&mut self,
n: usize,
val: impl CastInto<Ref<i16>>
)
Calls C++ function: void std::vector<int16_t, std::allocator<int16_t>>::assign(size_t __n, const int16_t& __val)
.
pub unsafe fn assign_2_i16(
&mut self,
first: impl CastInto<Ptr<i16>>,
last: impl CastInto<Ptr<i16>>
)
[src]
&mut self,
first: impl CastInto<Ptr<i16>>,
last: impl CastInto<Ptr<i16>>
)
Calls C++ function: void std::vector<int16_t, std::allocator<int16_t>>::assign(const int16_t* first, const int16_t* last)
.
pub unsafe fn at_mut(&mut self, n: usize) -> MutRef<i16>
[src]
Calls C++ function: int16_t& std::vector<int16_t, std::allocator<int16_t>>::at(size_t __n)
.
pub unsafe fn at(&self, n: usize) -> Ref<i16>
[src]
Calls C++ function: const int16_t& std::vector<int16_t, std::allocator<int16_t>>::at(size_t __n) const
.
pub unsafe fn back_mut(&mut self) -> MutRef<i16>
[src]
Calls C++ function: int16_t& std::vector<int16_t, std::allocator<int16_t>>::back()
.
pub unsafe fn back(&self) -> Ref<i16>
[src]
Calls C++ function: const int16_t& std::vector<int16_t, std::allocator<int16_t>>::back() const
.
pub unsafe fn capacity(&self) -> usize
[src]
Calls C++ function: size_t std::vector<int16_t, std::allocator<int16_t>>::capacity() const
.
pub unsafe fn clear(&mut self)
[src]
Calls C++ function: void std::vector<int16_t, std::allocator<int16_t>>::clear()
.
pub unsafe fn copy_from(
&mut self,
other: impl CastInto<Ref<VectorOfI16>>
) -> MutRef<VectorOfI16>
[src]
&mut self,
other: impl CastInto<Ref<VectorOfI16>>
) -> MutRef<VectorOfI16>
Calls C++ function: std::vector<int16_t, std::allocator<int16_t>>& std::vector<int16_t, std::allocator<int16_t>>::operator=(const std::vector<int16_t, std::allocator<int16_t>>& other)
.
pub unsafe fn data_mut(&mut self) -> MutPtr<i16>
[src]
Calls C++ function: int16_t* std::vector<int16_t, std::allocator<int16_t>>::data()
.
pub unsafe fn data(&self) -> Ptr<i16>
[src]
Calls C++ function: const int16_t* std::vector<int16_t, std::allocator<int16_t>>::data() const
.
pub unsafe fn empty(&self) -> bool
[src]
Calls C++ function: bool std::vector<int16_t, std::allocator<int16_t>>::empty() const
.
pub unsafe fn front_mut(&mut self) -> MutRef<i16>
[src]
Calls C++ function: int16_t& std::vector<int16_t, std::allocator<int16_t>>::front()
.
pub unsafe fn front(&self) -> Ref<i16>
[src]
Calls C++ function: const int16_t& std::vector<int16_t, std::allocator<int16_t>>::front() const
.
pub unsafe fn index_mut(&mut self, n: usize) -> MutRef<i16>
[src]
Calls C++ function: int16_t& std::vector<int16_t, std::allocator<int16_t>>::operator[](size_t __n)
.
pub unsafe fn index(&self, n: usize) -> Ref<i16>
[src]
Calls C++ function: const int16_t& std::vector<int16_t, std::allocator<int16_t>>::operator[](size_t __n) const
.
pub unsafe fn max_size(&self) -> usize
[src]
Calls C++ function: size_t std::vector<int16_t, std::allocator<int16_t>>::max_size() const
.
pub unsafe fn new() -> CppBox<VectorOfI16>
[src]
Calls C++ function: [constructor] void std::vector<int16_t, std::allocator<int16_t>>::vector()
.
pub unsafe fn from_allocator_of_i16(
a: impl CastInto<Ref<AllocatorOfI16>>
) -> CppBox<VectorOfI16>
[src]
a: impl CastInto<Ref<AllocatorOfI16>>
) -> CppBox<VectorOfI16>
Calls C++ function: [constructor] void std::vector<int16_t, std::allocator<int16_t>>::vector(const std::allocator<int16_t>& __a)
.
pub unsafe fn from_usize_allocator_of_i16(
n: usize,
a: impl CastInto<Ref<AllocatorOfI16>>
) -> CppBox<VectorOfI16>
[src]
n: usize,
a: impl CastInto<Ref<AllocatorOfI16>>
) -> CppBox<VectorOfI16>
Calls C++ function: [constructor] void std::vector<int16_t, std::allocator<int16_t>>::vector(size_t __n, const std::allocator<int16_t>& __a = …)
.
pub unsafe fn from_usize_i16_allocator_of_i16(
n: usize,
value: impl CastInto<Ref<i16>>,
a: impl CastInto<Ref<AllocatorOfI16>>
) -> CppBox<VectorOfI16>
[src]
n: usize,
value: impl CastInto<Ref<i16>>,
a: impl CastInto<Ref<AllocatorOfI16>>
) -> CppBox<VectorOfI16>
Calls C++ function: [constructor] void std::vector<int16_t, std::allocator<int16_t>>::vector(size_t __n, const int16_t& __value, const std::allocator<int16_t>& __a = …)
.
pub unsafe fn from_vector_of_i16_allocator_of_i16(
x: impl CastInto<Ref<VectorOfI16>>,
a: impl CastInto<Ref<AllocatorOfI16>>
) -> CppBox<VectorOfI16>
[src]
x: impl CastInto<Ref<VectorOfI16>>,
a: impl CastInto<Ref<AllocatorOfI16>>
) -> CppBox<VectorOfI16>
Calls C++ function: [constructor] void std::vector<int16_t, std::allocator<int16_t>>::vector(const std::vector<int16_t, std::allocator<int16_t>>& __x, const std::allocator<int16_t>& __a)
.
pub unsafe fn from_2_i16_allocator_of_i16(
first: impl CastInto<Ptr<i16>>,
last: impl CastInto<Ptr<i16>>,
alloc: impl CastInto<Ref<AllocatorOfI16>>
) -> CppBox<VectorOfI16>
[src]
first: impl CastInto<Ptr<i16>>,
last: impl CastInto<Ptr<i16>>,
alloc: impl CastInto<Ref<AllocatorOfI16>>
) -> CppBox<VectorOfI16>
Calls C++ function: [constructor] void std::vector<int16_t, std::allocator<int16_t>>::vector(const int16_t* first, const int16_t* last, std::allocator<int16_t> alloc = …)
.
pub unsafe fn from_usize(n: usize) -> CppBox<VectorOfI16>
[src]
Calls C++ function: [constructor] void std::vector<int16_t, std::allocator<int16_t>>::vector(size_t __n)
.
pub unsafe fn from_usize_i16(
n: usize,
value: impl CastInto<Ref<i16>>
) -> CppBox<VectorOfI16>
[src]
n: usize,
value: impl CastInto<Ref<i16>>
) -> CppBox<VectorOfI16>
Calls C++ function: [constructor] void std::vector<int16_t, std::allocator<int16_t>>::vector(size_t __n, const int16_t& __value)
.
pub unsafe fn from_2_i16(
first: impl CastInto<Ptr<i16>>,
last: impl CastInto<Ptr<i16>>
) -> CppBox<VectorOfI16>
[src]
first: impl CastInto<Ptr<i16>>,
last: impl CastInto<Ptr<i16>>
) -> CppBox<VectorOfI16>
Calls C++ function: [constructor] void std::vector<int16_t, std::allocator<int16_t>>::vector(const int16_t* first, const int16_t* last)
.
pub unsafe fn new_copy(
other: impl CastInto<Ref<VectorOfI16>>
) -> CppBox<VectorOfI16>
[src]
other: impl CastInto<Ref<VectorOfI16>>
) -> CppBox<VectorOfI16>
Calls C++ function: [constructor] void std::vector<int16_t, std::allocator<int16_t>>::vector(const std::vector<int16_t, std::allocator<int16_t>>& other)
.
pub unsafe fn pop_back(&mut self)
[src]
Calls C++ function: void std::vector<int16_t, std::allocator<int16_t>>::pop_back()
.
pub unsafe fn push_back(&mut self, x: impl CastInto<Ref<i16>>)
[src]
Calls C++ function: void std::vector<int16_t, std::allocator<int16_t>>::push_back(const int16_t& __x)
.
pub unsafe fn reserve(&mut self, n: usize)
[src]
Calls C++ function: void std::vector<int16_t, std::allocator<int16_t>>::reserve(size_t __n)
.
pub unsafe fn resize_1a(&mut self, new_size: usize)
[src]
Calls C++ function: void std::vector<int16_t, std::allocator<int16_t>>::resize(size_t __new_size)
.
pub unsafe fn resize_2a(&mut self, new_size: usize, x: impl CastInto<Ref<i16>>)
[src]
Calls C++ function: void std::vector<int16_t, std::allocator<int16_t>>::resize(size_t __new_size, const int16_t& __x)
.
pub unsafe fn shrink_to_fit(&mut self)
[src]
Calls C++ function: void std::vector<int16_t, std::allocator<int16_t>>::shrink_to_fit()
.
pub unsafe fn size(&self) -> usize
[src]
Calls C++ function: size_t std::vector<int16_t, std::allocator<int16_t>>::size() const
.
pub unsafe fn swap(&mut self, x: impl CastInto<MutRef<VectorOfI16>>)
[src]
Calls C++ function: void std::vector<int16_t, std::allocator<int16_t>>::swap(std::vector<int16_t, std::allocator<int16_t>>& __x)
.
Trait Implementations
impl PartialEq<Ref<VectorOfI16>> for VectorOfI16
[src]
fn eq(&self, y: &Ref<VectorOfI16>) -> bool
[src]
Calls C++ function: bool std::operator==(const std::vector<int16_t, std::allocator<int16_t>>& __x, const std::vector<int16_t, std::allocator<int16_t>>& __y)
.
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Lt<Ref<VectorOfI16>> for VectorOfI16
[src]
unsafe fn lt(&self, y: &Ref<VectorOfI16>) -> bool
[src]
Calls C++ function: bool std::operator<(const std::vector<int16_t, std::allocator<int16_t>>& __x, const std::vector<int16_t, std::allocator<int16_t>>& __y)
.
impl Le<Ref<VectorOfI16>> for VectorOfI16
[src]
unsafe fn le(&self, y: &Ref<VectorOfI16>) -> bool
[src]
Calls C++ function: bool std::operator<=(const std::vector<int16_t, std::allocator<int16_t>>& __x, const std::vector<int16_t, std::allocator<int16_t>>& __y)
.
impl Gt<Ref<VectorOfI16>> for VectorOfI16
[src]
unsafe fn gt(&self, y: &Ref<VectorOfI16>) -> bool
[src]
Calls C++ function: bool std::operator>(const std::vector<int16_t, std::allocator<int16_t>>& __x, const std::vector<int16_t, std::allocator<int16_t>>& __y)
.
impl Ge<Ref<VectorOfI16>> for VectorOfI16
[src]
unsafe fn ge(&self, y: &Ref<VectorOfI16>) -> bool
[src]
Calls C++ function: bool std::operator>=(const std::vector<int16_t, std::allocator<int16_t>>& __x, const std::vector<int16_t, std::allocator<int16_t>>& __y)
.
impl CppDeletable for VectorOfI16
[src]
unsafe fn delete(&mut self)
[src]
Calls C++ function: [destructor] void std::vector<int16_t, std::allocator<int16_t>>::~vector()
.
impl Data for VectorOfI16
[src]
type Output = Ptr<i16>
unsafe fn data(&self) -> Ptr<i16>
[src]
Calls C++ function: const int16_t* std::vector<int16_t, std::allocator<int16_t>>::data() const
.
impl DataMut for VectorOfI16
[src]
type Output = MutPtr<i16>
unsafe fn data_mut(&mut self) -> MutPtr<i16>
[src]
Calls C++ function: int16_t* std::vector<int16_t, std::allocator<int16_t>>::data()
.
impl Size for VectorOfI16
[src]
Auto Trait Implementations
impl Send for VectorOfI16
impl Sync for VectorOfI16
impl Unpin for VectorOfI16
impl UnwindSafe for VectorOfI16
impl RefUnwindSafe for VectorOfI16
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>,
impl<V, T> VectorAsSlice for V where
V: Data<Output = Ptr<T>> + Size,
[src]
V: Data<Output = Ptr<T>> + Size,
type Item = T
unsafe fn vector_as_slice(&self) -> &[T]
[src]
impl<V, T> VectorAsMutSlice for V where
V: DataMut<Output = MutPtr<T>> + Size,
[src]
V: DataMut<Output = MutPtr<T>> + Size,