pub struct ServerCompositionBrushProps { /* private fields */ }Expand description
The server-side properties of ServerCompositionBrush.
Implementations§
Source§impl ServerCompositionBrushProps
impl ServerCompositionBrushProps
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates the properties with every field at the default of its type; the values of the UI thread arrive with the first batch.
Sourcepub fn find_props(&self, type_id: TypeId) -> Option<&dyn Any>
pub fn find_props(&self, type_id: TypeId) -> Option<&dyn Any>
This block or the block of a base class, by type: what
IServerObject::get_props of the embedding class returns.
Sourcepub fn id_of_opacity_property() -> &'static CompositionPropertyOf<f64>
pub fn id_of_opacity_property() -> &'static CompositionPropertyOf<f64>
The composition property of Opacity.
pub fn set_opacity(&self, host: &dyn ServerCompositionBrushHooks, value: f64)
Sourcepub fn id_of_transform_origin_property() -> &'static CompositionPropertyOf<RelativePoint>
pub fn id_of_transform_origin_property() -> &'static CompositionPropertyOf<RelativePoint>
The composition property of TransformOrigin.
Sourcepub fn transform_origin(&self) -> RelativePoint
pub fn transform_origin(&self) -> RelativePoint
TransformOrigin.
pub fn set_transform_origin( &self, host: &dyn ServerCompositionBrushHooks, value: RelativePoint, )
Sourcepub fn id_of_transform_property() -> &'static CompositionPropertyOf<Option<ServerResourceRef<dyn ITransform>>>
pub fn id_of_transform_property() -> &'static CompositionPropertyOf<Option<ServerResourceRef<dyn ITransform>>>
The composition property of Transform.
Sourcepub fn transform(&self) -> Option<ServerResourceRef<dyn ITransform>>
pub fn transform(&self) -> Option<ServerResourceRef<dyn ITransform>>
Transform.
pub fn set_transform( &self, host: &dyn ServerCompositionBrushHooks, value: Option<ServerResourceRef<dyn ITransform>>, )
Sourcepub fn id_of_relative_transform_property() -> &'static CompositionPropertyOf<Option<ServerResourceRef<dyn ITransform>>>
pub fn id_of_relative_transform_property() -> &'static CompositionPropertyOf<Option<ServerResourceRef<dyn ITransform>>>
The composition property of RelativeTransform.
Sourcepub fn relative_transform(&self) -> Option<ServerResourceRef<dyn ITransform>>
pub fn relative_transform(&self) -> Option<ServerResourceRef<dyn ITransform>>
RelativeTransform.
pub fn set_relative_transform( &self, host: &dyn ServerCompositionBrushHooks, value: Option<ServerResourceRef<dyn ITransform>>, )
Sourcepub fn deserialize_changes_core(
&self,
host: &dyn ServerCompositionBrushHooks,
reader: &mut BatchStreamReader<'_>,
committed_at: Duration,
)
pub fn deserialize_changes_core( &self, host: &dyn ServerCompositionBrushHooks, reader: &mut BatchStreamReader<'_>, committed_at: Duration, )
Reads the changes of the object: the base class first, then the changed-fields mask and the changed members of this class.
Sourcepub fn get_composition_property(
name: &str,
) -> Option<&'static CompositionProperty>
pub fn get_composition_property( name: &str, ) -> Option<&'static CompositionProperty>
The composition property with the given name, among the properties of this class and of its generated bases that have a variant form.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ServerCompositionBrushProps
impl !RefUnwindSafe for ServerCompositionBrushProps
impl !Send for ServerCompositionBrushProps
impl !Sync for ServerCompositionBrushProps
impl !UnwindSafe for ServerCompositionBrushProps
impl Unpin for ServerCompositionBrushProps
impl UnsafeUnpin for ServerCompositionBrushProps
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
affects_render, metadata
overrides). Read more