ThemeTrimming
struct · ferroui-build · v0.5.0
struct ThemeTrimming
What the manifest of an application states about the trimming of its themes.
Members
enabled
enabled: bool
The application constructs its themes from the units it needs: the default, and
theme-trimming = true; theme-trimming = false turns it off.
all
all: bool
theme-roots = "all": every unit is kept (the trimmed construction, with the full table).
roots
roots: Vec<String>
theme-roots = ["Name", ..]: units, by the path of their document, or types or keys.
from_manifest
fn from_manifest(text: &str) -> Result<Self, String>
The trimming the manifest text states in its table [package.metadata.ferroui]; the
default (trimming on) when it has none. An error names the key whose value is not one of
the forms above.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.