TextDecorationCollection
struct · ferroui-base · v0.5.0
struct TextDecorationCollection
A collection that holds TextDecoration objects.
A shared handle to an observable list; equality is reference equality.
Members
new
fn new() -> Self
Creates an empty collection.
from_items
fn from_items(text_decorations: impl IntoIterator<Item = Ref<TextDecoration>>) -> Self
Creates a collection from text decorations.
parse
fn parse(s: &str) -> Result<TextDecorationCollection, FormatError>
Parses a TextDecorationCollection string: a comma separated list of
decoration locations (Underline, Overline, Strikethrough, Baseline).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedErasedDestructorIntoEitherCloneStructuralPartialEqPartialEqDerefDefaultFromIterator<Ref<TextDecoration>>ValueTypeRegistrationMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.