pub struct CompositionExperimentalAcrylicVisualProps { /* private fields */ }Expand description
The UI-thread properties of CompositionExperimentalAcrylicVisual.
Implementations§
Source§impl CompositionExperimentalAcrylicVisualProps
impl CompositionExperimentalAcrylicVisualProps
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates the properties with every field at the default of its type.
The defaults of the schema are applied by
initialize_defaults.
Sourcepub fn initialize_defaults(
&self,
host: &dyn CompositionExperimentalAcrylicVisualHooks,
)
pub fn initialize_defaults( &self, host: &dyn CompositionExperimentalAcrylicVisualHooks, )
The InitializeDefaults calls of the constructor chain: the base
classes first, then this class.
Sourcepub fn initialize_own_defaults(
&self,
host: &dyn CompositionExperimentalAcrylicVisualHooks,
)
pub fn initialize_own_defaults( &self, host: &dyn CompositionExperimentalAcrylicVisualHooks, )
InitializeDefaults of this class alone.
Sourcepub fn material(&self) -> ImmutableExperimentalAcrylicMaterial
pub fn material(&self) -> ImmutableExperimentalAcrylicMaterial
Material.
Sourcepub fn set_material(
&self,
host: &dyn CompositionExperimentalAcrylicVisualHooks,
value: ImmutableExperimentalAcrylicMaterial,
)
pub fn set_material( &self, host: &dyn CompositionExperimentalAcrylicVisualHooks, value: ImmutableExperimentalAcrylicMaterial, )
Sets Material.
Sourcepub fn corner_radius(&self) -> CornerRadius
pub fn corner_radius(&self) -> CornerRadius
CornerRadius.
Sourcepub fn set_corner_radius(
&self,
host: &dyn CompositionExperimentalAcrylicVisualHooks,
value: CornerRadius,
)
pub fn set_corner_radius( &self, host: &dyn CompositionExperimentalAcrylicVisualHooks, value: CornerRadius, )
Sets CornerRadius.
Sourcepub fn serialize_changes_core(
&self,
host: &dyn CompositionExperimentalAcrylicVisualHooks,
writer: &mut BatchStreamWriter<'_>,
)
pub fn serialize_changes_core( &self, host: &dyn CompositionExperimentalAcrylicVisualHooks, writer: &mut BatchStreamWriter<'_>, )
Writes 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 CompositionExperimentalAcrylicVisualProps
impl !RefUnwindSafe for CompositionExperimentalAcrylicVisualProps
impl !Sync for CompositionExperimentalAcrylicVisualProps
impl Send for CompositionExperimentalAcrylicVisualProps
impl Unpin for CompositionExperimentalAcrylicVisualProps
impl UnsafeUnpin for CompositionExperimentalAcrylicVisualProps
impl UnwindSafe for CompositionExperimentalAcrylicVisualProps
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