pub struct ServerCompositionBitmapCacheProps { /* private fields */ }Expand description
The server-side properties of ServerCompositionBitmapCache.
Implementations§
Source§impl ServerCompositionBitmapCacheProps
impl ServerCompositionBitmapCacheProps
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) -> &ServerCompositionCacheModeProps
pub fn base(&self) -> &ServerCompositionCacheModeProps
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_render_at_scale_property() -> &'static CompositionPropertyOf<f64>
pub fn id_of_render_at_scale_property() -> &'static CompositionPropertyOf<f64>
The composition property of RenderAtScale.
Sourcepub fn render_at_scale(&self) -> f64
pub fn render_at_scale(&self) -> f64
RenderAtScale (animated).
pub fn set_render_at_scale( &self, host: &dyn ServerCompositionBitmapCacheHooks, value: f64, )
Sourcepub fn id_of_snaps_to_device_pixels_property() -> &'static CompositionPropertyOf<bool>
pub fn id_of_snaps_to_device_pixels_property() -> &'static CompositionPropertyOf<bool>
The composition property of SnapsToDevicePixels.
Sourcepub fn snaps_to_device_pixels(&self) -> bool
pub fn snaps_to_device_pixels(&self) -> bool
SnapsToDevicePixels (animated).
pub fn set_snaps_to_device_pixels( &self, host: &dyn ServerCompositionBitmapCacheHooks, value: bool, )
Sourcepub fn id_of_enable_clear_type_property() -> &'static CompositionPropertyOf<bool>
pub fn id_of_enable_clear_type_property() -> &'static CompositionPropertyOf<bool>
The composition property of EnableClearType.
Sourcepub fn enable_clear_type(&self) -> bool
pub fn enable_clear_type(&self) -> bool
EnableClearType (animated).
pub fn set_enable_clear_type( &self, host: &dyn ServerCompositionBitmapCacheHooks, value: bool, )
Sourcepub fn deserialize_changes_core(
&self,
host: &dyn ServerCompositionBitmapCacheHooks,
reader: &mut BatchStreamReader<'_>,
committed_at: Duration,
)
pub fn deserialize_changes_core( &self, host: &dyn ServerCompositionBitmapCacheHooks, 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 ServerCompositionBitmapCacheProps
impl !RefUnwindSafe for ServerCompositionBitmapCacheProps
impl !Sync for ServerCompositionBitmapCacheProps
impl Send for ServerCompositionBitmapCacheProps
impl Unpin for ServerCompositionBitmapCacheProps
impl UnsafeUnpin for ServerCompositionBitmapCacheProps
impl UnwindSafe for ServerCompositionBitmapCacheProps
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