Struct animate::ColorizeEffect[][src]

pub struct ColorizeEffect(_, _);

Implementations

impl ColorizeEffect[src]

pub fn new(tint: Color) -> 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: Fn(&ColorizeEffect) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[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: ObjectType> PartialEq<T> for ColorizeEffect[src]

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

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

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

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

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

impl<T> ObjectExt for T where
    T: ObjectType
[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.