pub struct ServerCompositionGeometryProps { /* private fields */ }Expand description
The server-side properties of ServerCompositionGeometry.
Implementations§
Source§impl ServerCompositionGeometryProps
impl ServerCompositionGeometryProps
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_trim_end_property() -> &'static CompositionPropertyOf<f32>
pub fn id_of_trim_end_property() -> &'static CompositionPropertyOf<f32>
The composition property of TrimEnd.
pub fn set_trim_end( &self, host: &dyn ServerCompositionGeometryHooks, value: f32, )
Sourcepub fn id_of_trim_offset_property() -> &'static CompositionPropertyOf<f32>
pub fn id_of_trim_offset_property() -> &'static CompositionPropertyOf<f32>
The composition property of TrimOffset.
Sourcepub fn trim_offset(&self) -> f32
pub fn trim_offset(&self) -> f32
TrimOffset (animated).
pub fn set_trim_offset( &self, host: &dyn ServerCompositionGeometryHooks, value: f32, )
Sourcepub fn id_of_trim_start_property() -> &'static CompositionPropertyOf<f32>
pub fn id_of_trim_start_property() -> &'static CompositionPropertyOf<f32>
The composition property of TrimStart.
Sourcepub fn trim_start(&self) -> f32
pub fn trim_start(&self) -> f32
TrimStart (animated).
pub fn set_trim_start( &self, host: &dyn ServerCompositionGeometryHooks, value: f32, )
Sourcepub fn deserialize_changes_core(
&self,
host: &dyn ServerCompositionGeometryHooks,
reader: &mut BatchStreamReader<'_>,
committed_at: Duration,
)
pub fn deserialize_changes_core( &self, host: &dyn ServerCompositionGeometryHooks, 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 ServerCompositionGeometryProps
impl !RefUnwindSafe for ServerCompositionGeometryProps
impl !Sync for ServerCompositionGeometryProps
impl Send for ServerCompositionGeometryProps
impl Unpin for ServerCompositionGeometryProps
impl UnsafeUnpin for ServerCompositionGeometryProps
impl UnwindSafe for ServerCompositionGeometryProps
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
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more