[−][src]Struct opencv::types::VectorOfint
Methods
impl VectorOfint[src]
pub fn as_raw_VectorOfint(&self) -> *mut c_void[src]
pub fn iter(&self) -> VectorRefIterator<Self>[src]
pub fn to_slice(&self) -> &[i32][src]
Trait Implementations
impl<'i> Vector<'i> for VectorOfint[src]
type Storage = i32
fn new() -> Self[src]
fn len(&self) -> size_t[src]
fn is_empty(&self) -> bool[src]
fn capacity(&self) -> size_t[src]
fn shrink_to_fit(&mut self)[src]
fn reserve(&mut self, additional: size_t)[src]
fn remove(&mut self, index: size_t) -> Result<()>[src]
fn swap(&mut self, index1: size_t, index2: size_t) -> Result<()>[src]
fn clear(&mut self)[src]
type Arg = i32
fn push(&mut self, val: Self::Arg)[src]
fn insert(&mut self, index: size_t, val: Self::Arg) -> Result<()>[src]
fn get(&self, index: size_t) -> Result<Self::Storage>[src]
unsafe fn get_unchecked(&self, index: size_t) -> Self::Storage[src]
fn set(&mut self, index: size_t, val: Self::Arg) -> Result<()>[src]
unsafe fn set_unchecked(&mut self, index: size_t, val: Self::Arg)[src]
fn to_vec(&self) -> Vec<Self::Storage>[src]
fn from_iter(s: impl IntoIterator<Item = Self::Arg>) -> Self where
Self: Sized, [src]
Self: Sized,
fn with_capacity(capacity: size_t) -> Self where
Self: Sized, [src]
Self: Sized,
impl ToInputArray for VectorOfint[src]
fn input_array(&self) -> Result<_InputArray>[src]
impl<'_> ToInputArray for &'_ VectorOfint[src]
fn input_array(&self) -> Result<_InputArray>[src]
impl ToOutputArray for VectorOfint[src]
fn output_array(&mut self) -> Result<_OutputArray>[src]
impl<'_> ToOutputArray for &'_ mut VectorOfint[src]
fn output_array(&mut self) -> Result<_OutputArray>[src]
impl ToInputOutputArray for VectorOfint[src]
fn input_output_array(&mut self) -> Result<_InputOutputArray>[src]
impl<'_> ToInputOutputArray for &'_ mut VectorOfint[src]
fn input_output_array(&mut self) -> Result<_InputOutputArray>[src]
impl Send for VectorOfint[src]
impl Drop for VectorOfint[src]
impl IntoIterator for VectorOfint[src]
type Item = i32
The type of the elements being iterated over.
type IntoIter = VectorIterator<Self>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter[src]
impl<'i> IntoIterator for &'i VectorOfint[src]
Auto Trait Implementations
impl Unpin for VectorOfint
impl !Sync for VectorOfint
impl UnwindSafe for VectorOfint
impl RefUnwindSafe for VectorOfint
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator, [src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I[src]
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> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,