FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RenderTargetCorruptedError

    struct · ferroui-base · v0.5.0

    struct RenderTargetCorruptedError
    

    The error a render target reports when it can no longer be drawn to and has to be created anew.

    View source

    Members

    new

    fn new() -> Self
    

    Creates the exception without a message.

    Source

    new_with_message

    fn new_with_message(message: impl Into<String>) -> Self
    

    Creates the exception with the given message.

    Source

    new_with_inner_exception

    fn new_with_inner_exception(inner_exception: Rc<dyn Error>) -> Self
    

    Creates the exception for the error that caused it.

    Source

    new_with_message_and_inner_exception

    fn new_with_message_and_inner_exception(message: impl Into<String>, inner_exception: Rc<dyn Error>) -> Self
    

    Creates the exception with the given message, for the error that caused it.

    Source

    message

    fn message(self: &Self) -> &str
    

    The message that describes the error: the given one, or the default message of the exception.

    Source

    inner_exception

    fn inner_exception(self: &Self) -> Option<&Rc<dyn Error>>
    

    The error that caused the exception, if any.

    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
    • ToString
    • ErasedDestructor
    • IntoEither
    • From<RenderTargetCorruptedError>
    • Clone
    • Debug
    • Default
    • Display
    • Error

    Availability

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