FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CacheMode

    struct · ferroui-base · v0.5.0

    struct CacheMode
    

    Represents cached content modes for graphics acceleration features.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<CacheMode>
    

    Returns a strong reference to this object.

    Source

    get_for_compositor

    fn get_for_compositor(self: &Self, c: &Rc<Compositor>) -> Rc<CompositionCacheMode>
    

    The composition cache mode that mirrors this cache mode on compositor c.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see crate::FerroObject::construct.

    Source

    parse

    fn parse(s: &str) -> Result<Ref<CacheMode>, FormatError>
    

    Parses a cache mode: the only known mode is BitmapCache.

    Source

    Trait implementations

    Availability

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