[][src]Enum azul_webrender_api::FilterPrimitiveInput

#[repr(C)]pub enum FilterPrimitiveInput {
    Original,
    Previous,
    OutputOfPrimitiveIndex(usize),
}

An input to a SVG filter primitive.

Variants

Original

The input is the original graphic that the filter is being applied to.

Previous

The input is the output of the previous filter primitive in the filter primitive chain.

OutputOfPrimitiveIndex(usize)

The input is the output of the filter primitive at the given index in the filter primitive chain.

Implementations

impl FilterPrimitiveInput[src]

pub fn to_index(self, cur_index: usize) -> Option<usize>[src]

Gets the index of the input. Returns None if the source graphic is the input.

Trait Implementations

impl Clone for FilterPrimitiveInput[src]

impl Copy for FilterPrimitiveInput[src]

impl Debug for FilterPrimitiveInput[src]

impl Default for FilterPrimitiveInput[src]

impl<'de> Deserialize<'de> for FilterPrimitiveInput[src]

impl Eq for FilterPrimitiveInput[src]

impl Hash for FilterPrimitiveInput[src]

impl MallocSizeOf for FilterPrimitiveInput[src]

impl PartialEq<FilterPrimitiveInput> for FilterPrimitiveInput[src]

impl Peek for FilterPrimitiveInput[src]

impl Poke for FilterPrimitiveInput[src]

impl Serialize for FilterPrimitiveInput[src]

impl StructuralEq for FilterPrimitiveInput[src]

impl StructuralPartialEq for FilterPrimitiveInput[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.