Skip to main content

IServerPropertyHost

Trait IServerPropertyHost 

Source
pub trait IServerPropertyHost {
    // Required method
    fn server_compositor(&self) -> Option<Rc<ServerCompositor>>;

    // Provided method
    fn set_value(
        &self,
        property: &'static CompositionProperty,
        change: ServerValueChange<'_>,
    ) { ... }
}
Expand description

What a generated server property block needs from the object that embeds it (upstream SimpleServerObject).

Required Methods§

Source

fn server_compositor(&self) -> Option<Rc<ServerCompositor>>

The compositor of the object, while it is alive. Used to resolve the server objects a batch refers to.

Provided Methods§

Source

fn set_value( &self, property: &'static CompositionProperty, change: ServerValueChange<'_>, )

SetValue(prop, ref field, value) as the class of the object defines it. A plain server object assigns; an animated object also invalidates the subscriptions of the property; a render resource goes through super::ServerRenderResourceCore::set_value.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl IServerPropertyHost for ServerAmbientLight

Source§

impl IServerPropertyHost for ServerCompositionBackdropBrush

Source§

impl IServerPropertyHost for ServerCompositionBitmapCache

Source§

impl IServerPropertyHost for ServerCompositionConicGradientBrush

Source§

impl IServerPropertyHost for ServerCompositionContainerShape

Source§

impl IServerPropertyHost for ServerCompositionEffectBrush

Source§

impl IServerPropertyHost for ServerCompositionEllipseGeometry

Source§

impl IServerPropertyHost for ServerCompositionGradientStop

Source§

impl IServerPropertyHost for ServerCompositionHostBackdropBrush

Source§

impl IServerPropertyHost for ServerCompositionLineGeometry

Source§

impl IServerPropertyHost for ServerCompositionLinearGradientBrush

Source§

impl IServerPropertyHost for ServerCompositionMaskBrush

Source§

impl IServerPropertyHost for ServerCompositionNineGridBrush

Source§

impl IServerPropertyHost for ServerCompositionPathGeometry

Source§

impl IServerPropertyHost for ServerCompositionPropertySet

Source§

impl IServerPropertyHost for ServerCompositionRadialGradientBrush

Source§

impl IServerPropertyHost for ServerCompositionRectangleGeometry

Source§

impl IServerPropertyHost for ServerCompositionRoundedRectangleGeometry

Source§

impl IServerPropertyHost for ServerCompositionShapeCollection

Source§

impl IServerPropertyHost for ServerCompositionSimpleBrush

Source§

impl IServerPropertyHost for ServerCompositionSimpleConicGradientBrush

Source§

impl IServerPropertyHost for ServerCompositionSimpleContentBrush

Source§

impl IServerPropertyHost for ServerCompositionSimpleGeometry

Source§

impl IServerPropertyHost for ServerCompositionSimpleImageBrush

Source§

impl IServerPropertyHost for ServerCompositionSimpleLinearGradientBrush

Source§

impl IServerPropertyHost for ServerCompositionSimplePen

Source§

impl IServerPropertyHost for ServerCompositionSimpleRadialGradientBrush

Source§

impl IServerPropertyHost for ServerCompositionSimpleSolidColorBrush

Source§

impl IServerPropertyHost for ServerCompositionSimpleTileBrush

Source§

impl IServerPropertyHost for ServerCompositionSimpleTransform

Source§

impl IServerPropertyHost for ServerCompositionSolidColorBrush

Source§

impl IServerPropertyHost for ServerCompositionSpriteShape

Source§

impl IServerPropertyHost for ServerCompositionSurfaceBrush

Source§

impl IServerPropertyHost for ServerCompositionTarget

Source§

impl IServerPropertyHost for ServerCompositionViewBox

Source§

impl IServerPropertyHost for ServerCompositionVisual

Source§

impl IServerPropertyHost for ServerCompositionVisualCollection

Source§

impl IServerPropertyHost for ServerCompositionVisualSurface

Source§

impl IServerPropertyHost for ServerDistantLight

Source§

impl IServerPropertyHost for ServerDropShadow

Source§

impl IServerPropertyHost for ServerGeometricClip

Source§

impl IServerPropertyHost for ServerInsetClip

Source§

impl IServerPropertyHost for ServerPointLight

Source§

impl IServerPropertyHost for ServerRectangleClip

Source§

impl IServerPropertyHost for ServerSpotLight

Source§

impl IServerPropertyHost for ServerVisualUnorderedCollection

Source§

impl IServerPropertyHost for ServerXamlCompositionBrush