[][src]Struct azul_webrender_api::FilterData

pub struct FilterData {
    pub func_r_type: ComponentTransferFuncType,
    pub r_values: Vec<f32>,
    pub func_g_type: ComponentTransferFuncType,
    pub g_values: Vec<f32>,
    pub func_b_type: ComponentTransferFuncType,
    pub b_values: Vec<f32>,
    pub func_a_type: ComponentTransferFuncType,
    pub a_values: Vec<f32>,
}

Fields

func_r_type: ComponentTransferFuncTyper_values: Vec<f32>func_g_type: ComponentTransferFuncTypeg_values: Vec<f32>func_b_type: ComponentTransferFuncTypeb_values: Vec<f32>func_a_type: ComponentTransferFuncTypea_values: Vec<f32>

Implementations

impl FilterData[src]

pub fn sanitize(&self) -> FilterData[src]

Ensure that the number of values matches up with the function type.

pub fn is_identity(&self) -> bool[src]

Trait Implementations

impl Clone for FilterData[src]

impl Debug for FilterData[src]

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

impl PartialEq<FilterData> for FilterData[src]

impl Serialize for FilterData[src]

impl StructuralPartialEq for FilterData[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.