FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CompositionBitmapCache

    struct · ferroui-base · v0.5.0

    struct CompositionBitmapCache
    

    Caches the subtree of a visual in a bitmap.

    View source

    Members

    new

    fn new(compositor: &Rc<Compositor>) -> Rc<CompositionBitmapCache>
    

    Source

    compositor

    fn compositor(self: &Self) -> &Rc<Compositor>
    

    Source

    object

    fn object(self: &Self) -> &CompositionObject
    

    The embedded CompositionObject.

    Source

    implicit_animations

    fn implicit_animations(self: &Self) -> Option<Rc<ImplicitAnimationCollection>>
    

    The collection of implicit animations attached to this object.

    Source

    set_implicit_animations

    fn set_implicit_animations(self: &Self, value: Option<Rc<ImplicitAnimationCollection>>)
    

    Source

    render_at_scale

    fn render_at_scale(self: &Self) -> f64
    

    Source

    set_render_at_scale

    fn set_render_at_scale(self: &Self, value: f64)
    

    Source

    snaps_to_device_pixels

    fn snaps_to_device_pixels(self: &Self) -> bool
    

    Source

    set_snaps_to_device_pixels

    fn set_snaps_to_device_pixels(self: &Self, value: bool)
    

    Source

    enable_clear_type

    fn enable_clear_type(self: &Self) -> bool
    

    Source

    set_enable_clear_type

    fn set_enable_clear_type(self: &Self, value: bool)
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither
    • CompositionCacheModeHooks
    • CompositionBitmapCacheHooks
    • IRegisterForSerialization
    • ICompositionObjectHost
    • ICompositionObjectAnimations
    • AsCompositionObject
    • ICompositionObject
    • ICompositorSerializable

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.