pub struct ServerCompositionExperimentalAcrylicVisualProps { /* private fields */ }Expand description
The server-side properties of ServerCompositionExperimentalAcrylicVisual.
Implementations§
Source§impl ServerCompositionExperimentalAcrylicVisualProps
impl ServerCompositionExperimentalAcrylicVisualProps
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_material_property() -> &'static CompositionPropertyOf<ImmutableExperimentalAcrylicMaterial>
pub fn id_of_material_property() -> &'static CompositionPropertyOf<ImmutableExperimentalAcrylicMaterial>
The composition property of Material.
Sourcepub fn material(&self) -> ImmutableExperimentalAcrylicMaterial
pub fn material(&self) -> ImmutableExperimentalAcrylicMaterial
Material.
pub fn set_material( &self, host: &dyn ServerCompositionExperimentalAcrylicVisualHooks, value: ImmutableExperimentalAcrylicMaterial, )
Sourcepub fn id_of_corner_radius_property() -> &'static CompositionPropertyOf<CornerRadius>
pub fn id_of_corner_radius_property() -> &'static CompositionPropertyOf<CornerRadius>
The composition property of CornerRadius.
Sourcepub fn corner_radius(&self) -> CornerRadius
pub fn corner_radius(&self) -> CornerRadius
CornerRadius.
pub fn set_corner_radius( &self, host: &dyn ServerCompositionExperimentalAcrylicVisualHooks, value: CornerRadius, )
Sourcepub fn deserialize_changes_core(
&self,
host: &dyn ServerCompositionExperimentalAcrylicVisualHooks,
reader: &mut BatchStreamReader<'_>,
committed_at: Duration,
)
pub fn deserialize_changes_core( &self, host: &dyn ServerCompositionExperimentalAcrylicVisualHooks, 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.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ServerCompositionExperimentalAcrylicVisualProps
impl !RefUnwindSafe for ServerCompositionExperimentalAcrylicVisualProps
impl !Sync for ServerCompositionExperimentalAcrylicVisualProps
impl Send for ServerCompositionExperimentalAcrylicVisualProps
impl Unpin for ServerCompositionExperimentalAcrylicVisualProps
impl UnsafeUnpin for ServerCompositionExperimentalAcrylicVisualProps
impl UnwindSafe for ServerCompositionExperimentalAcrylicVisualProps
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