FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MarkupEmit

    struct · ferroui-base · v0.5.0

    struct MarkupEmit
    

    A typed function the declaration forms generate for a declared member, for the emitter of Rust source: an associated function of the declared type (#[doc(hidden)] pub fn __markup_get_Child(this: &Ref<Border>) -> ..), public wherever the type is, that calls the declared callable with exactly the declared types. Generated code calls it by the public path of the type and function, whatever form the callable has (a path or a closure).

    Member Function
    property getter / setter __markup_get_<Name>(this: &This) -> T / __markup_set_<Name>(this: &This, value: T)
    static property getter / setter __markup_static_get_<Name>() -> T / __markup_static_set_<Name>(value: T)
    method (instance or static), in declaration order n __markup_<Name>_<n>([this: &This,] a0: A, ..) -> R
    constructor, in declaration order n __markup_new_<n>(a0: A, ..) -> T
    static field __markup_field_<Name>() -> T
    Parse(string) __markup_parse(text: String) -> Result<T, MarkupInvokeError>

    A fallible member (try) returns Result<T, MarkupInvokeError> (markup_result of the callable's result).

    View source

    Members

    function

    function: &'static str
    

    The name of the associated function.

    Source

    fallible

    fallible: bool
    

    Whether the function returns Result<_, MarkupInvokeError>.

    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
    • Eq

    Availability

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