FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Size3DError

    enum · ferroui-media3d · v0.5.0

    enum Size3DError
    

    The error of the members of Size3D and Rect3D that WPF guards: a negative dimension (WPF's ArgumentException), or a change of the Empty value (WPF's InvalidOperationException).

    View source

    Members

    NegativeDimension

    NegativeDimension
    

    A dimension is negative.

    Source

    ModifiesEmpty

    ModifiesEmpty
    

    The value is Empty, which cannot be changed or moved.

    Source

    message

    const fn message(self: &Self) -> &'static str
    

    The message of the error, as a static text (the parsers report it in their FormatError).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ToString
    • ResourceKeyObject
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash
    • Display
    • Error

    Availability

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