CacheMode
struct · ferroui-base · v0.5.0
struct CacheMode
Represents cached content modes for graphics acceleration features.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<CacheMode>
Returns a strong reference to this object.
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.
construct
fn construct() -> Self
Creates the class data; see crate::FerroObject::construct.
parse
fn parse(s: &str) -> Result<Ref<CacheMode>, FormatError>
Parses a cache mode: the only known mode is BitmapCache.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeCacheModeImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherDerefUpcast<T>Upcast<CacheMode>StaticTypeObjectTypeSubclassable<T>FerroObjectImplStyledElementImplCacheModeImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.