FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Run

    struct · ferroui-controls · v0.5.0

    struct Run
    

    A terminal element in text flow hierarchy - contains a uniformatted run of unicode characters.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<Run>
    

    Returns a strong reference to this object.

    Source

    text_property

    fn text_property() -> &'static StyledProperty<Option<String>>
    

    Dependency property backing Text.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Initializes an instance of the Run class.

    Source

    with_text

    fn with_text(text: Option<&str>) -> Ref<Self>
    

    Initializes an instance of the Run class specifying its text content.

    Source

    text

    fn text(self: &Self) -> Option<String>
    

    The content spanned by this text pointer.

    Source

    set_text

    fn set_text(self: &Self, value: Option<&str>)
    

    Source

    Trait implementations

    Availability

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