[][src]Struct opencv::core::Scalar_

#[repr(C)]
pub struct Scalar_<T: ValidScalarType>(pub [T; 4]);

Methods

impl<T: ValidScalarType> Scalar_<T>[src]

pub fn all(v0: T) -> Self[src]

impl<T: ValidScalarType> Scalar_<T>[src]

pub fn new(v0: T, v1: T, v2: T, v3: T) -> Self[src]

Trait Implementations

impl<T: Clone + ValidScalarType> Clone for Scalar_<T>[src]

impl<T: Copy + ValidScalarType> Copy for Scalar_<T>[src]

impl<T: Debug + ValidScalarType> Debug for Scalar_<T>[src]

impl<T: ValidScalarType + Default> Default for Scalar_<T>[src]

impl<T: ValidScalarType> Deref for Scalar_<T>[src]

type Target = [T; 4]

The resulting type after dereferencing.

impl<T: ValidScalarType> DerefMut for Scalar_<T>[src]

impl<T: ValidScalarType> From<[T; 4]> for Scalar_<T>[src]

impl<T: PartialEq + ValidScalarType> PartialEq<Scalar_<T>> for Scalar_<T>[src]

impl<T: PartialOrd + ValidScalarType> PartialOrd<Scalar_<T>> for Scalar_<T>[src]

impl<T: ValidScalarType> StructuralPartialEq for Scalar_<T>[src]

impl ToInputArray for Scalar_<f64>[src]

impl<'_> ToInputArray for &'_ Scalar_<f64>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Scalar_<T> where
    T: RefUnwindSafe

impl<T> Send for Scalar_<T> where
    T: Send

impl<T> Sync for Scalar_<T> where
    T: Sync

impl<T> Unpin for Scalar_<T> where
    T: Unpin

impl<T> UnwindSafe for Scalar_<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.