pub struct ServerCompositionNineGridBrushProps { /* private fields */ }Expand description
The server-side properties of ServerCompositionNineGridBrush.
Implementations§
Source§impl ServerCompositionNineGridBrushProps
impl ServerCompositionNineGridBrushProps
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) -> &ServerCompositionBrushProps
pub fn base(&self) -> &ServerCompositionBrushProps
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_source_property() -> &'static CompositionPropertyOf<Option<Rc<dyn IServerObject>>>
pub fn id_of_source_property() -> &'static CompositionPropertyOf<Option<Rc<dyn IServerObject>>>
The composition property of Source.
Sourcepub fn source(&self) -> Option<Rc<dyn IServerObject>>
pub fn source(&self) -> Option<Rc<dyn IServerObject>>
Source.
pub fn set_source( &self, host: &dyn ServerCompositionNineGridBrushHooks, value: Option<Rc<dyn IServerObject>>, )
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 ServerCompositionNineGridBrushHooks, 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 ServerCompositionNineGridBrushHooks, 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 ServerCompositionNineGridBrushHooks, 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 ServerCompositionNineGridBrushHooks, value: f32, )
Sourcepub fn id_of_left_inset_scale_property() -> &'static CompositionPropertyOf<f32>
pub fn id_of_left_inset_scale_property() -> &'static CompositionPropertyOf<f32>
The composition property of LeftInsetScale.
Sourcepub fn left_inset_scale(&self) -> f32
pub fn left_inset_scale(&self) -> f32
LeftInsetScale (animated).
pub fn set_left_inset_scale( &self, host: &dyn ServerCompositionNineGridBrushHooks, value: f32, )
Sourcepub fn id_of_top_inset_scale_property() -> &'static CompositionPropertyOf<f32>
pub fn id_of_top_inset_scale_property() -> &'static CompositionPropertyOf<f32>
The composition property of TopInsetScale.
Sourcepub fn top_inset_scale(&self) -> f32
pub fn top_inset_scale(&self) -> f32
TopInsetScale (animated).
pub fn set_top_inset_scale( &self, host: &dyn ServerCompositionNineGridBrushHooks, value: f32, )
Sourcepub fn id_of_right_inset_scale_property() -> &'static CompositionPropertyOf<f32>
pub fn id_of_right_inset_scale_property() -> &'static CompositionPropertyOf<f32>
The composition property of RightInsetScale.
Sourcepub fn right_inset_scale(&self) -> f32
pub fn right_inset_scale(&self) -> f32
RightInsetScale (animated).
pub fn set_right_inset_scale( &self, host: &dyn ServerCompositionNineGridBrushHooks, value: f32, )
Sourcepub fn id_of_bottom_inset_scale_property() -> &'static CompositionPropertyOf<f32>
pub fn id_of_bottom_inset_scale_property() -> &'static CompositionPropertyOf<f32>
The composition property of BottomInsetScale.
Sourcepub fn bottom_inset_scale(&self) -> f32
pub fn bottom_inset_scale(&self) -> f32
BottomInsetScale (animated).
pub fn set_bottom_inset_scale( &self, host: &dyn ServerCompositionNineGridBrushHooks, value: f32, )
Sourcepub fn id_of_is_center_hollow_property() -> &'static CompositionPropertyOf<bool>
pub fn id_of_is_center_hollow_property() -> &'static CompositionPropertyOf<bool>
The composition property of IsCenterHollow.
Sourcepub fn is_center_hollow(&self) -> bool
pub fn is_center_hollow(&self) -> bool
IsCenterHollow.
pub fn set_is_center_hollow( &self, host: &dyn ServerCompositionNineGridBrushHooks, value: bool, )
Sourcepub fn deserialize_changes_core(
&self,
host: &dyn ServerCompositionNineGridBrushHooks,
reader: &mut BatchStreamReader<'_>,
committed_at: Duration,
)
pub fn deserialize_changes_core( &self, host: &dyn ServerCompositionNineGridBrushHooks, 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 ServerCompositionNineGridBrushProps
impl !RefUnwindSafe for ServerCompositionNineGridBrushProps
impl !Send for ServerCompositionNineGridBrushProps
impl !Sync for ServerCompositionNineGridBrushProps
impl !UnwindSafe for ServerCompositionNineGridBrushProps
impl Unpin for ServerCompositionNineGridBrushProps
impl UnsafeUnpin for ServerCompositionNineGridBrushProps
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