pub struct ServerInsetClipProps { /* private fields */ }Expand description
The server-side properties of ServerInsetClip.
Implementations§
Source§impl ServerInsetClipProps
impl ServerInsetClipProps
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 base(&self) -> &ServerCompositionClipProps
pub fn base(&self) -> &ServerCompositionClipProps
The properties of the base class.
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_left_inset_property() -> &'static CompositionPropertyOf<f32>
pub fn id_of_left_inset_property() -> &'static CompositionPropertyOf<f32>
The composition property of LeftInset.
Sourcepub fn left_inset(&self) -> f32
pub fn left_inset(&self) -> f32
LeftInset (animated).
pub fn set_left_inset(&self, host: &dyn ServerInsetClipHooks, value: f32)
Sourcepub fn id_of_top_inset_property() -> &'static CompositionPropertyOf<f32>
pub fn id_of_top_inset_property() -> &'static CompositionPropertyOf<f32>
The composition property of TopInset.
pub fn set_top_inset(&self, host: &dyn ServerInsetClipHooks, value: f32)
Sourcepub fn id_of_right_inset_property() -> &'static CompositionPropertyOf<f32>
pub fn id_of_right_inset_property() -> &'static CompositionPropertyOf<f32>
The composition property of RightInset.
Sourcepub fn right_inset(&self) -> f32
pub fn right_inset(&self) -> f32
RightInset (animated).
pub fn set_right_inset(&self, host: &dyn ServerInsetClipHooks, value: f32)
Sourcepub fn id_of_bottom_inset_property() -> &'static CompositionPropertyOf<f32>
pub fn id_of_bottom_inset_property() -> &'static CompositionPropertyOf<f32>
The composition property of BottomInset.
Sourcepub fn bottom_inset(&self) -> f32
pub fn bottom_inset(&self) -> f32
BottomInset (animated).
pub fn set_bottom_inset(&self, host: &dyn ServerInsetClipHooks, value: f32)
Sourcepub fn deserialize_changes_core(
&self,
host: &dyn ServerInsetClipHooks,
reader: &mut BatchStreamReader<'_>,
committed_at: Duration,
)
pub fn deserialize_changes_core( &self, host: &dyn ServerInsetClipHooks, 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 ServerInsetClipProps
impl !RefUnwindSafe for ServerInsetClipProps
impl !Sync for ServerInsetClipProps
impl Send for ServerInsetClipProps
impl Unpin for ServerInsetClipProps
impl UnsafeUnpin for ServerInsetClipProps
impl UnwindSafe for ServerInsetClipProps
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
affects_render, metadata
overrides). Read more