FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SharedPen

    struct · ferroui-base · v0.5.0

    struct SharedPen
    

    The values of an immutable pen, shared between the UI thread and the render thread. See the module documentation.

    View source

    Members

    from_pen

    fn from_pen(pen: &dyn IPen) -> Option<SharedPen>
    

    Copies the values of pen. None when its brush has no shared form.

    Source

    Trait implementations

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

    Availability

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