FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    WriteableBitmapRef

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct WriteableBitmapRef
    

    A writeable bitmap held by a property.

    View source

    Members

    0

    0: std::rc::Rc<ferroui_base::media::imaging::WriteableBitmap>
    

    Source

    new

    fn new(bitmap: WriteableBitmap) -> Self
    

    The handle of bitmap.

    Source

    get

    fn get(self: &Self) -> &Rc<WriteableBitmap>
    

    The shared bitmap.

    Source

    as_image

    fn as_image(self: &Self) -> Rc<dyn IImage>
    

    The bitmap as an image (the source of an image control).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Deref
    • PartialEq
    • From<Rc<WriteableBitmap>>
    • Debug

    Availability

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