FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FerroUriTypeConverter

    struct · ferroui-markup-xaml · v0.5.0

    struct FerroUriTypeConverter
    

    Converts text to a URI. A path that starts with / is a relative URI, never a file URI.

    A URI has three Rust forms, Uri, UriRef and url::Url (C5 of #423): the converter converts text to a Uri, and a URI or text to a UriRef or a Url (convert_to), where a relative reference is not a Url and a text the URL parser rejects is neither (section 3.5 of docs/idiomatic-rust-signatures.md).

    View source

    Members

    new

    fn new() -> ::std::rc::Rc<Self>
    

    Source

    as_type_converter

    fn as_type_converter(self: &::std::rc::Rc<Self>) -> ::std::rc::Rc<dyn $crate::converters::TypeConverter>
    

    The converter as the type converter contract.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.