pub struct ServerCompositionLightProps { /* private fields */ }Expand description
The server-side properties of ServerCompositionLight.
Implementations§
Source§impl ServerCompositionLightProps
impl ServerCompositionLightProps
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_targets_property() -> &'static CompositionPropertyOf<Option<Rc<dyn IServerObject>>>
pub fn id_of_targets_property() -> &'static CompositionPropertyOf<Option<Rc<dyn IServerObject>>>
The composition property of Targets.
Sourcepub fn targets(&self) -> Option<Rc<dyn IServerObject>>
pub fn targets(&self) -> Option<Rc<dyn IServerObject>>
Targets.
pub fn set_targets( &self, host: &dyn ServerCompositionLightHooks, value: Option<Rc<dyn IServerObject>>, )
Sourcepub fn id_of_exclusions_from_targets_property() -> &'static CompositionPropertyOf<Option<Rc<dyn IServerObject>>>
pub fn id_of_exclusions_from_targets_property() -> &'static CompositionPropertyOf<Option<Rc<dyn IServerObject>>>
The composition property of ExclusionsFromTargets.
Sourcepub fn exclusions_from_targets(&self) -> Option<Rc<dyn IServerObject>>
pub fn exclusions_from_targets(&self) -> Option<Rc<dyn IServerObject>>
ExclusionsFromTargets.
pub fn set_exclusions_from_targets( &self, host: &dyn ServerCompositionLightHooks, value: Option<Rc<dyn IServerObject>>, )
Sourcepub fn id_of_is_enabled_property() -> &'static CompositionPropertyOf<bool>
pub fn id_of_is_enabled_property() -> &'static CompositionPropertyOf<bool>
The composition property of IsEnabled.
Sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
IsEnabled.
pub fn set_is_enabled( &self, host: &dyn ServerCompositionLightHooks, value: bool, )
Sourcepub fn deserialize_changes_core(
&self,
host: &dyn ServerCompositionLightHooks,
reader: &mut BatchStreamReader<'_>,
_committed_at: Duration,
)
pub fn deserialize_changes_core( &self, host: &dyn ServerCompositionLightHooks, 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 ServerCompositionLightProps
impl !RefUnwindSafe for ServerCompositionLightProps
impl !Send for ServerCompositionLightProps
impl !Sync for ServerCompositionLightProps
impl !UnwindSafe for ServerCompositionLightProps
impl Unpin for ServerCompositionLightProps
impl UnsafeUnpin for ServerCompositionLightProps
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