PropertyValueShape
enum · ferroui-designer-tools · v0.5.0
enum PropertyValueShape
Members
PointSizeVectorRectMatrixRelativePointRelativeRectCornerRadiusTimeSpanDurationFontFamilyUriNumberListcomponentsrelativeparse_componentsvalidateformat_components
Point
Point
Size
Size
Vector
Vector
Rect
Rect
Matrix
Matrix
RelativePoint
RelativePoint
RelativeRect
RelativeRect
CornerRadius
CornerRadius
TimeSpan
TimeSpan
Duration
Duration
FontFamily
FontFamily
Uri
Uri
NumberList
NumberList
components
fn components(self: Self) -> &'static [&'static str]
relative
fn relative(self: Self) -> bool
parse_components
fn parse_components(self: Self, source: &str) -> Result<(Vec<f64>, bool)>
validate
fn validate(self: Self, source: &str) -> Result<()>
format_components
fn format_components(self: Self, values: &[f64], percent: bool) -> Result<String>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedDeserializeOwnedCloneCopyDebugStructuralPartialEqPartialEqEqSerializeDeserialize<'de>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.