FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    EffectImageWeak

    struct · ferroui-base · v0.5.0

    struct EffectImageWeak
    

    A weak EffectImage: it does not keep the image, and tells whether the image still lives.

    View source

    Members

    is_alive

    fn is_alive(self: &Self) -> bool
    

    Whether a handle of the image still lives. The weak handle of the empty handle is never alive.

    Source

    upgrade

    fn upgrade(self: &Self) -> Option<EffectImage>
    

    A handle of the image, while one lives.

    Source

    id

    fn id(self: &Self) -> u64
    

    The identity of the image (EffectImage::id).

    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
    • Debug
    • Default

    Availability

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