FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MarkupAttribute

    struct · ferroui-base · v0.5.0

    struct MarkupAttribute
    

    An attribute of a type or member: the data of a custom attribute of the managed original ([DependsOn("Property")], [TemplateContent(TemplateResultType = typeof(..))]).

    name is the attribute name without the Attribute suffix; the names of the attributes the framework itself understands are the constants of attributes.

    View source

    Members

    name

    name: &'static str
    

    Source

    arguments

    arguments: &'static [MarkupAttributeValue]
    

    The constructor arguments.

    Source

    properties

    properties: &'static [(&'static str, MarkupAttributeValue)]
    

    The named arguments.

    Source

    property

    fn property(self: &Self, name: &str) -> Option<MarkupAttributeValue>
    

    The named argument name.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq

    Availability

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