pub struct ServerCompositionSimpleGeometryProps { /* private fields */ }Expand description
The server-side properties of ServerCompositionSimpleGeometry.
Implementations§
Source§impl ServerCompositionSimpleGeometryProps
impl ServerCompositionSimpleGeometryProps
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_geometry_impl_property() -> &'static CompositionPropertyOf<Option<Arc<dyn IGeometryImpl>>>
pub fn id_of_geometry_impl_property() -> &'static CompositionPropertyOf<Option<Arc<dyn IGeometryImpl>>>
The composition property of GeometryImpl.
Sourcepub fn geometry_impl(&self) -> Option<Arc<dyn IGeometryImpl>>
pub fn geometry_impl(&self) -> Option<Arc<dyn IGeometryImpl>>
GeometryImpl.
pub fn set_geometry_impl( &self, host: &dyn ServerCompositionSimpleGeometryHooks, value: Option<Arc<dyn IGeometryImpl>>, )
Sourcepub fn deserialize_changes_core(
&self,
host: &dyn ServerCompositionSimpleGeometryHooks,
reader: &mut BatchStreamReader<'_>,
_committed_at: Duration,
)
pub fn deserialize_changes_core( &self, host: &dyn ServerCompositionSimpleGeometryHooks, 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 serialize_all_changes(
writer: &mut BatchStreamWriter<'_>,
geometry_impl: Option<Arc<dyn IGeometryImpl>>,
)
pub fn serialize_all_changes( writer: &mut BatchStreamWriter<'_>, geometry_impl: Option<Arc<dyn IGeometryImpl>>, )
Writes every property of the class, in the form
deserialize_changes_core reads.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ServerCompositionSimpleGeometryProps
impl !RefUnwindSafe for ServerCompositionSimpleGeometryProps
impl !Sync for ServerCompositionSimpleGeometryProps
impl !UnwindSafe for ServerCompositionSimpleGeometryProps
impl Send for ServerCompositionSimpleGeometryProps
impl Unpin for ServerCompositionSimpleGeometryProps
impl UnsafeUnpin for ServerCompositionSimpleGeometryProps
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