Struct ux::FadeEffect [−][src]
pub struct FadeEffect { /* fields omitted */ }
Implementations
impl FadeEffect
[src]
pub fn new() -> FadeEffect
[src]
Trait Implementations
impl AsRef<ActorMeta> for FadeEffect
[src]
impl AsRef<Effect> for FadeEffect
[src]
impl AsRef<FadeEffect> for FadeEffect
[src]
pub fn as_ref(&self) -> &FadeEffect
[src]
impl AsRef<OffscreenEffect> for FadeEffect
[src]
pub fn as_ref(&self) -> &OffscreenEffect
[src]
impl Clone for FadeEffect
[src]
pub fn clone(&self) -> FadeEffect
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FadeEffect
[src]
impl Default for FadeEffect
[src]
pub fn default() -> FadeEffect
[src]
impl Display for FadeEffect
[src]
impl Is<ActorMeta> for FadeEffect
[src]
impl Is<Effect> for FadeEffect
[src]
impl Is<FadeEffect> for FadeEffect
[src]
impl Is<OffscreenEffect> for FadeEffect
[src]
impl Object for FadeEffect
[src]
Auto Trait Implementations
impl !RefUnwindSafe for FadeEffect
impl !Send for FadeEffect
impl !Sync for FadeEffect
impl Unpin for FadeEffect
impl UnwindSafe for FadeEffect
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<O> FadeEffectExt for O where
O: Is<FadeEffect>,
[src]
O: Is<FadeEffect>,
pub fn get_border(&self) -> (u32, u32, u32, u32)
[src]
get_border: @effect: A #FadeEffect @top: (out) (allow-none): The upper border, in pixels @right: (out) (allow-none): The right border, in pixels @bottom: (out) (allow-none): The lower border, in pixels @left: (out) (allow-none): The left border, in pixels
Retrieves the border values for @effect.
pub fn get_bounds(&self) -> (i32, i32, u32, u32)
[src]
get_bounds: @effect: A #FadeEffect @x: (out) (allow-none): The x value of the effect bounds, in pixels @y: (out) (allow-none): The y value of the effect bounds, in pixels @width: (out) (allow-none): The width of the effect bounds, in pixels, or %0 @height: (out) (allow-none): The height of the effect bounds, in pixels, or %0
Retrieves the bounding box of the effect.
pub fn get_color(&self) -> Color
[src]
get_color: @effect: A #FadeEffect @color: (out): A #Color to store the color in
Retrieves the color used for the fade effect.
pub fn set_border(&self, top: u32, right: u32, bottom: u32, left: u32)
[src]
set_border: @effect: A #FadeEffect @top: The upper border, in pixels @right: The right border, in pixels @bottom: The lower border, in pixels @left: The left border, in pixels
Sets the border to be used for the fading effect. This is the number of pixels on each side of the effect that should be used to fade.
pub fn set_bounds(&self, x: i32, y: i32, width: u32, height: u32)
[src]
set_bounds: @effect: A #FadeEffect @x: The x value of the effect bounds, in pixels @y: The y value of the effect bounds, in pixels @width: The width of the effect bounds, in pixels, or %0 @height: The height of the effect bounds, in pixels, or %0
Sets the bounding box of the effect. The effect will essentially treat this box as a clipping rectangle. Setting width or height to %0 will use the width or height of the #Actor the effect is attached to.
pub fn set_color(&self, color: &Color)
[src]
set_color: @effect: A #FadeEffect @color: A #Color
Sets the color of the fade effect. The effect will fade out towards the set border to this color.
pub fn get_property_border_bottom(&self) -> u32
[src]
pub fn set_property_border_bottom(&self, border_bottom: u32)
[src]
pub fn get_property_border_left(&self) -> u32
[src]
pub fn set_property_border_left(&self, border_left: u32)
[src]
pub fn get_property_border_right(&self) -> u32
[src]
pub fn set_property_border_right(&self, border_right: u32)
[src]
pub fn get_property_border_top(&self) -> u32
[src]
pub fn set_property_border_top(&self, border_top: u32)
[src]
pub fn get_property_bounds_height(&self) -> u32
[src]
pub fn set_property_bounds_height(&self, bounds_height: u32)
[src]
pub fn get_property_bounds_width(&self) -> u32
[src]
pub fn set_property_bounds_width(&self, bounds_width: u32)
[src]
pub fn get_property_bounds_x(&self) -> i32
[src]
pub fn set_property_bounds_x(&self, bounds_x: i32)
[src]
pub fn get_property_bounds_y(&self) -> i32
[src]
pub fn set_property_bounds_y(&self, bounds_y: i32)
[src]
pub fn get_property_freeze_update(&self) -> bool
[src]
pub fn set_property_freeze_update(&self, freeze_update: bool)
[src]
pub fn connect_property_border_bottom_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_border_left_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_border_right_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_border_top_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_bounds_height_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_bounds_width_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_bounds_x_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_bounds_y_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_color_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_freeze_update_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,