pub struct ServerRectangleClipProps { /* private fields */ }Expand description
The server-side properties of ServerRectangleClip.
Implementations§
Source§impl ServerRectangleClipProps
impl ServerRectangleClipProps
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 base(&self) -> &ServerCompositionClipProps
pub fn base(&self) -> &ServerCompositionClipProps
The properties of the base class.
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_left_property() -> &'static CompositionPropertyOf<f32>
pub fn id_of_left_property() -> &'static CompositionPropertyOf<f32>
The composition property of Left.
pub fn set_left(&self, host: &dyn ServerRectangleClipHooks, value: f32)
Sourcepub fn id_of_top_property() -> &'static CompositionPropertyOf<f32>
pub fn id_of_top_property() -> &'static CompositionPropertyOf<f32>
The composition property of Top.
pub fn set_top(&self, host: &dyn ServerRectangleClipHooks, value: f32)
Sourcepub fn id_of_right_property() -> &'static CompositionPropertyOf<f32>
pub fn id_of_right_property() -> &'static CompositionPropertyOf<f32>
The composition property of Right.
pub fn set_right(&self, host: &dyn ServerRectangleClipHooks, value: f32)
Sourcepub fn id_of_bottom_property() -> &'static CompositionPropertyOf<f32>
pub fn id_of_bottom_property() -> &'static CompositionPropertyOf<f32>
The composition property of Bottom.
pub fn set_bottom(&self, host: &dyn ServerRectangleClipHooks, value: f32)
Sourcepub fn id_of_top_left_radius_property() -> &'static CompositionPropertyOf<Vector>
pub fn id_of_top_left_radius_property() -> &'static CompositionPropertyOf<Vector>
The composition property of TopLeftRadius.
Sourcepub fn top_left_radius(&self) -> Vector
pub fn top_left_radius(&self) -> Vector
TopLeftRadius (animated).
pub fn set_top_left_radius( &self, host: &dyn ServerRectangleClipHooks, value: Vector, )
Sourcepub fn id_of_top_right_radius_property() -> &'static CompositionPropertyOf<Vector>
pub fn id_of_top_right_radius_property() -> &'static CompositionPropertyOf<Vector>
The composition property of TopRightRadius.
Sourcepub fn top_right_radius(&self) -> Vector
pub fn top_right_radius(&self) -> Vector
TopRightRadius (animated).
pub fn set_top_right_radius( &self, host: &dyn ServerRectangleClipHooks, value: Vector, )
Sourcepub fn id_of_bottom_left_radius_property() -> &'static CompositionPropertyOf<Vector>
pub fn id_of_bottom_left_radius_property() -> &'static CompositionPropertyOf<Vector>
The composition property of BottomLeftRadius.
Sourcepub fn bottom_left_radius(&self) -> Vector
pub fn bottom_left_radius(&self) -> Vector
BottomLeftRadius (animated).
pub fn set_bottom_left_radius( &self, host: &dyn ServerRectangleClipHooks, value: Vector, )
Sourcepub fn id_of_bottom_right_radius_property() -> &'static CompositionPropertyOf<Vector>
pub fn id_of_bottom_right_radius_property() -> &'static CompositionPropertyOf<Vector>
The composition property of BottomRightRadius.
Sourcepub fn bottom_right_radius(&self) -> Vector
pub fn bottom_right_radius(&self) -> Vector
BottomRightRadius (animated).
pub fn set_bottom_right_radius( &self, host: &dyn ServerRectangleClipHooks, value: Vector, )
Sourcepub fn deserialize_changes_core(
&self,
host: &dyn ServerRectangleClipHooks,
reader: &mut BatchStreamReader<'_>,
committed_at: Duration,
)
pub fn deserialize_changes_core( &self, host: &dyn ServerRectangleClipHooks, 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 ServerRectangleClipProps
impl !RefUnwindSafe for ServerRectangleClipProps
impl !Sync for ServerRectangleClipProps
impl Send for ServerRectangleClipProps
impl Unpin for ServerRectangleClipProps
impl UnsafeUnpin for ServerRectangleClipProps
impl UnwindSafe for ServerRectangleClipProps
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