Struct components::ColorizeEffect[][src]

pub struct ColorizeEffect(_, _);

Implementations

impl ColorizeEffect[src]

pub fn new(tint: Color<f64>) -> ColorizeEffect[src]

Creates a new ColorizeEffect to be used with ActorExt::add_effect

tint

the color to be used

Returns

the newly created ColorizeEffect or None

pub fn get_tint(&self) -> InternalColor[src]

Retrieves the tint used by self

tint

return location for the color used

pub fn set_tint(&self, tint: &InternalColor)[src]

Sets the tint to be used when colorizing

tint

the color to be used

pub fn connect_property_tint_notify<F>(&self, f: F) -> SignalHandlerId where
    F: 'static + Fn(&ColorizeEffect), 
[src]

Trait Implementations

impl Clone for ColorizeEffect[src]

impl Debug for ColorizeEffect[src]

impl Display for ColorizeEffect[src]

impl Eq for ColorizeEffect[src]

impl Hash for ColorizeEffect[src]

impl IsA<ActorMeta> for ColorizeEffect[src]

impl IsA<Effect> for ColorizeEffect[src]

impl IsA<InitiallyUnowned> for ColorizeEffect[src]

impl IsA<OffscreenEffect> for ColorizeEffect[src]

impl Ord for ColorizeEffect[src]

impl<T> PartialEq<T> for ColorizeEffect where
    T: ObjectType
[src]

impl<T> PartialOrd<T> for ColorizeEffect where
    T: ObjectType
[src]

impl StaticType for ColorizeEffect[src]

Auto Trait Implementations

Blanket Implementations

impl<O> ActorMetaExt for O where
    O: IsA<ActorMeta>, 
[src]

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<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

impl<O> EffectExt for O where
    O: IsA<Effect>, 
[src]

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

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

impl<Fr, To> IntoColor<To> for Fr where
    To: FromColor<Fr>, 

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<O> OffscreenEffectExt for O where
    O: IsA<OffscreenEffect>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: SetValue + Send + ToValue + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>,