Skip to main content

FerroObjectImpl

Trait FerroObjectImpl 

Source
pub trait FerroObjectImpl: ObjectType {
    // Provided methods
    fn constructed(this: &Self) { ... }
    fn on_property_changed_core(
        this: &Self,
        change: &FerroPropertyChangedEventArgs<'_>,
    ) { ... }
    fn on_property_changed(
        this: &Self,
        change: &FerroPropertyChangedEventArgs<'_>,
    ) { ... }
    fn update_data_validation(
        this: &Self,
        property: &'static FerroProperty,
        state: BindingValueType,
        error: Option<&BindingError>,
    ) { ... }
}
Expand description

The overridable members of FerroObject.

Provided Methods§

Source

fn constructed(this: &Self)

Called once, right after the object has been allocated. This is where constructor logic that needs a reference to the object runs. Overrides must call parent_constructed first.

Source

fn on_property_changed_core( this: &Self, change: &FerroPropertyChangedEventArgs<'_>, )

Called for every property change on the object, including changes of non-effective (base) values. Overriding this is rarely needed; override on_property_changed instead.

Source

fn on_property_changed(this: &Self, change: &FerroPropertyChangedEventArgs<'_>)

Called when the effective value of a property changes on the object.

Source

fn update_data_validation( this: &Self, property: &'static FerroProperty, state: BindingValueType, error: Option<&BindingError>, )

Called to update the validation state for properties for which data validation is enabled.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl FerroObjectImpl for Animatable

Source§

impl FerroObjectImpl for Animation

Source§

impl FerroObjectImpl for AnimatorKeyFrame

Source§

impl FerroObjectImpl for ArcSegment

Source§

impl FerroObjectImpl for BezierSegment

Source§

impl FerroObjectImpl for BitmapCache

Source§

impl FerroObjectImpl for BlurEffect

Source§

impl FerroObjectImpl for BoolTransition

Source§

impl FerroObjectImpl for BoxShadowsTransition

Source§

impl FerroObjectImpl for Brush

Source§

impl FerroObjectImpl for BrushTransition

Source§

impl FerroObjectImpl for CacheMode

Source§

impl FerroObjectImpl for ColorTransition

Source§

impl FerroObjectImpl for CombinedGeometry

Source§

impl FerroObjectImpl for ConicGradientBrush

Source§

impl FerroObjectImpl for ContainerQuery

Source§

impl FerroObjectImpl for ControlTheme

Source§

impl FerroObjectImpl for CornerRadiusTransition

Source§

impl FerroObjectImpl for CroppedBitmap

Source§

impl FerroObjectImpl for DashStyle

Source§

impl FerroObjectImpl for DoubleTransition

Source§

impl FerroObjectImpl for Drawing

Source§

impl FerroObjectImpl for DrawingBrush

Source§

impl FerroObjectImpl for DrawingGroup

Source§

impl FerroObjectImpl for DrawingImage

Source§

impl FerroObjectImpl for DropShadowDirectionEffect

Source§

impl FerroObjectImpl for DropShadowEffect

Source§

impl FerroObjectImpl for DropShadowEffectBase

Source§

impl FerroObjectImpl for Effect

Source§

impl FerroObjectImpl for EffectTransition

Source§

impl FerroObjectImpl for EllipseGeometry

Source§

impl FerroObjectImpl for ExperimentalAcrylicMaterial

Source§

impl FerroObjectImpl for FerroObject

Source§

impl FerroObjectImpl for FloatTransition

Source§

impl FerroObjectImpl for Geometry

Source§

impl FerroObjectImpl for GeometryDrawing

Source§

impl FerroObjectImpl for GeometryGroup

Source§

impl FerroObjectImpl for GestureRecognizer

Source§

impl FerroObjectImpl for GlyphRunDrawing

Source§

impl FerroObjectImpl for GradientBrush

Source§

impl FerroObjectImpl for GradientStop

Source§

impl FerroObjectImpl for ImageBrush

Source§

impl FerroObjectImpl for ImageDrawing

Source§

impl FerroObjectImpl for ImmutableGeometry

Source§

impl FerroObjectImpl for InputElement

Source§

impl FerroObjectImpl for IntegerTransition

Source§

impl FerroObjectImpl for Interactive

Source§

impl FerroObjectImpl for KeyBinding

Source§

impl FerroObjectImpl for KeyFrame

Source§

impl FerroObjectImpl for KeySpline

Source§

impl FerroObjectImpl for Layoutable

Source§

impl FerroObjectImpl for LineGeometry

Source§

impl FerroObjectImpl for LineSegment

Source§

impl FerroObjectImpl for LinearGradientBrush

Source§

impl FerroObjectImpl for MatrixTransform

Source§

impl FerroObjectImpl for PathFigure

Source§

impl FerroObjectImpl for PathGeometry

Source§

impl FerroObjectImpl for PathSegment

Source§

impl FerroObjectImpl for Pen

Source§

impl FerroObjectImpl for PinchGestureRecognizer

Source§

impl FerroObjectImpl for PlatformGeometry

Source§

impl FerroObjectImpl for PointTransition

Source§

impl FerroObjectImpl for PolyBezierSegment

Source§

impl FerroObjectImpl for PolyLineSegment

Source§

impl FerroObjectImpl for PolylineGeometry

Source§

impl FerroObjectImpl for PullGestureRecognizer

Source§

impl FerroObjectImpl for QuadraticBezierSegment

Source§

impl FerroObjectImpl for RadialGradientBrush

Source§

impl FerroObjectImpl for RectangleGeometry

Source§

impl FerroObjectImpl for RelativePointTransition

Source§

impl FerroObjectImpl for ResourceDictionary

Source§

impl FerroObjectImpl for ResourceProvider

Source§

impl FerroObjectImpl for Rotate3DTransform

Source§

impl FerroObjectImpl for RotateTransform

Source§

impl FerroObjectImpl for ScaleTransform

Source§

impl FerroObjectImpl for ScrollGestureRecognizer

Source§

impl FerroObjectImpl for SizeTransition

Source§

impl FerroObjectImpl for SkewTransform

Source§

impl FerroObjectImpl for SolidColorBrush

Source§

impl FerroObjectImpl for StreamGeometry

Source§

impl FerroObjectImpl for Style

Source§

impl FerroObjectImpl for StyleBase

Source§

impl FerroObjectImpl for StyledElement

Source§

impl FerroObjectImpl for Styles

Source§

impl FerroObjectImpl for SwipeGestureRecognizer

Source§

impl FerroObjectImpl for TextDecoration

Source§

impl FerroObjectImpl for ThicknessTransition

Source§

impl FerroObjectImpl for TileBrush

Source§

impl FerroObjectImpl for Transform

Source§

impl FerroObjectImpl for TransformGroup

Source§

impl FerroObjectImpl for TransformOperationsTransition

Source§

impl FerroObjectImpl for TransitionBase

Source§

impl FerroObjectImpl for TranslateTransform

Source§

impl FerroObjectImpl for VectorTransition

Source§

impl FerroObjectImpl for Visual

Source§

impl FerroObjectImpl for VisualBrush