ParseHelper
struct · ferroui-xaml-interactivity · v0.5.0
struct ParseHelper
Parses text into the values of the types of the framework that have a Parse(string).
Deviation (DEVIATIONS.md, Behaviors): the reference keeps a table of the Parse methods of
40 framework types (brushes, colors, geometries, thicknesses, transforms, cursors, key
gestures, ..). Every one of them states its parser in its markup metadata (parse:), which is
what the text conversion of the untyped values uses, so the table is that conversion.
Members
invoke_parse
fn invoke_parse(s: &str, target_type: ValueType) -> Option<BoxedValue>
Parses s into a value of target_type; None when the type has no parser or the text
does not parse.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.