CompositionBitmapCache
struct · ferroui-base · v0.5.0
struct CompositionBitmapCache
Caches the subtree of a visual in a bitmap.
Members
newcompositorobjectimplicit_animationsset_implicit_animationsrender_at_scaleset_render_at_scalesnaps_to_device_pixelsset_snaps_to_device_pixelsenable_clear_typeset_enable_clear_type
new
fn new(compositor: &Rc<Compositor>) -> Rc<CompositionBitmapCache>
compositor
fn compositor(self: &Self) -> &Rc<Compositor>
object
fn object(self: &Self) -> &CompositionObject
The embedded CompositionObject.
implicit_animations
fn implicit_animations(self: &Self) -> Option<Rc<ImplicitAnimationCollection>>
The collection of implicit animations attached to this object.
set_implicit_animations
fn set_implicit_animations(self: &Self, value: Option<Rc<ImplicitAnimationCollection>>)
render_at_scale
fn render_at_scale(self: &Self) -> f64
set_render_at_scale
fn set_render_at_scale(self: &Self, value: f64)
snaps_to_device_pixels
fn snaps_to_device_pixels(self: &Self) -> bool
set_snaps_to_device_pixels
fn set_snaps_to_device_pixels(self: &Self, value: bool)
enable_clear_type
fn enable_clear_type(self: &Self) -> bool
set_enable_clear_type
fn set_enable_clear_type(self: &Self, value: bool)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEitherCompositionCacheModeHooksCompositionBitmapCacheHooksIRegisterForSerializationICompositionObjectHostICompositionObjectAnimationsAsCompositionObjectICompositionObjectICompositorSerializable
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.