[][src]Struct ffmpeg_next::software::scaling::vector::Vector

pub struct Vector<'a> { /* fields omitted */ }

Implementations

impl<'a> Vector<'a>[src]

pub unsafe fn wrap(ptr: *mut SwsVector) -> Self[src]

pub unsafe fn as_ptr(&self) -> *const SwsVector[src]

pub unsafe fn as_mut_ptr(&mut self) -> *mut SwsVector[src]

impl<'a> Vector<'a>[src]

pub fn new(length: usize) -> Self[src]

pub fn gaussian(variance: f64, quality: f64) -> Self[src]

pub fn value(value: f64, length: usize) -> Self[src]

pub fn identity() -> Self[src]

pub fn scale(&mut self, scalar: f64)[src]

pub fn normalize(&mut self, height: f64)[src]

pub fn conv(&mut self, other: &Vector)[src]

pub fn add(&mut self, other: &Vector)[src]

pub fn sub(&mut self, other: &Vector)[src]

pub fn shift(&mut self, value: usize)[src]

pub fn coefficients(&self) -> &[f64][src]

pub fn coefficients_mut(&self) -> &[f64][src]

Trait Implementations

impl<'a> Clone for Vector<'a>[src]

impl<'a> Drop for Vector<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Vector<'a>

impl<'a> !Send for Vector<'a>

impl<'a> !Sync for Vector<'a>

impl<'a> Unpin for Vector<'a>

impl<'a> UnwindSafe for Vector<'a>

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.