Struct image_convolution::kernels::Kernel[][src]

pub struct Kernel {
    pub data: Vec<Real>,
    pub size: u32,
}

Square shaped convolution kernel

Fields

data: Vec<Real>size: u32

Trait Implementations

impl Index<(u32, u32)> for Kernel[src]

type Output = Real

The returned type after indexing.

Auto Trait Implementations

impl RefUnwindSafe for Kernel

impl Send for Kernel

impl Sync for Kernel

impl Unpin for Kernel

impl UnwindSafe for Kernel

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> Downcast<T> for T

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.

impl<T> Upcast<T> for T