Struct clutter::PageTurnEffect[][src]

pub struct PageTurnEffect(_, _);

Implementations

impl PageTurnEffect[src]

pub fn new(period: f64, angle: f64, radius: f32) -> PageTurnEffect[src]

Creates a new PageTurnEffect instance with the given parameters

period

the period of the page curl, between 0.0 and 1.0

angle

the angle of the page curl, between 0.0 and 360.0

radius

the radius of the page curl, in pixels

Returns

the newly created PageTurnEffect

pub fn get_angle(&self) -> f64[src]

Retrieves the value set using PageTurnEffect::get_angle

Returns

the angle of the page curling

pub fn get_period(&self) -> f64[src]

Retrieves the value set using PageTurnEffect::get_period

Returns

the period of the page curling

pub fn get_radius(&self) -> f32[src]

Retrieves the value set using PageTurnEffect::set_radius

Returns

the radius of the page curling

pub fn set_angle(&self, angle: f64)[src]

Sets the angle of the page curling, in degrees

angle

the angle of the page curl, in degrees

pub fn set_period(&self, period: f64)[src]

Sets the period of the page curling, between 0.0 (no curling) and 1.0 (fully curled)

period

the period of the page curl, between 0.0 and 1.0

pub fn set_radius(&self, radius: f32)[src]

Sets the radius of the page curling

radius

the radius of the page curling, in pixels

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

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

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

Trait Implementations

impl Clone for PageTurnEffect[src]

impl Debug for PageTurnEffect[src]

impl Display for PageTurnEffect[src]

impl Eq for PageTurnEffect[src]

impl Hash for PageTurnEffect[src]

impl IsA<ActorMeta> for PageTurnEffect[src]

impl IsA<DeformEffect> for PageTurnEffect[src]

impl IsA<Effect> for PageTurnEffect[src]

impl IsA<InitiallyUnowned> for PageTurnEffect[src]

impl IsA<OffscreenEffect> for PageTurnEffect[src]

impl Ord for PageTurnEffect[src]

impl<T: ObjectType> PartialEq<T> for PageTurnEffect[src]

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

impl StaticType for PageTurnEffect[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.