FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    EmbeddedControlRun

    struct · ferroui-controls · v0.5.0

    struct EmbeddedControlRun
    

    The text run of a control embedded in text: it reserves the desired size of the control in the line and draws nothing.

    View source

    Members

    new

    fn new(control: Ref<Control>, properties: Rc<dyn TextRunProperties>) -> Self
    

    Source

    control

    fn control(self: &Self) -> &Ref<Control>
    

    The embedded control.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • TextRun
    • DrawableTextRun

    Availability

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