FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Attribute

    struct · ferroui-designer-core · v0.5.0

    struct Attribute
    

    View source

    Members

    name

    name: String
    

    Lexical qualified name, including namespace prefix or attached owner.

    Source

    value

    value: String
    

    XML-decoded value. value_span retains the original lexical spelling.

    Source

    namespace_uri

    namespace_uri: Option<String>
    

    Source

    span

    span: SourceSpan
    

    Range from the name to the closing quote; leading whitespace is excluded.

    Source

    name_span

    name_span: SourceSpan
    

    Source

    value_span

    value_span: SourceSpan
    

    Source

    quote

    quote: char
    

    Source

    markup

    fn markup(self: &Self) -> Result<MarkupValue, String>
    

    Source

    is_namespace

    fn is_namespace(self: &Self) -> bool
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • DeserializeOwned
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Serialize
    • Deserialize<'de>

    Availability

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