Enum naga::back::msl::Error[][src]

pub enum Error {
    Format(FmtError),
    UnimplementedBindTarget(BindTarget),
    UnsupportedCompose(Handle<Type>),
    UnsupportedBinaryOp(BinaryOperator),
    UnsupportedCall(String),
    FeatureNotImplemented(String),
    Validation,
    UnsupportedBuiltIn(BuiltIn),
    CapabilityNotSupported(Capabilities),
}

Variants

Format(FmtError)

Tuple Fields of Format

0: FmtError
UnimplementedBindTarget(BindTarget)

Tuple Fields of UnimplementedBindTarget

0: BindTarget
UnsupportedCompose(Handle<Type>)

Tuple Fields of UnsupportedCompose

0: Handle<Type>
UnsupportedBinaryOp(BinaryOperator)

Tuple Fields of UnsupportedBinaryOp

0: BinaryOperator
UnsupportedCall(String)

Tuple Fields of UnsupportedCall

0: String
FeatureNotImplemented(String)

Tuple Fields of FeatureNotImplemented

0: String
Validation
UnsupportedBuiltIn(BuiltIn)

Tuple Fields of UnsupportedBuiltIn

0: BuiltIn
CapabilityNotSupported(Capabilities)

Tuple Fields of CapabilityNotSupported

0: Capabilities

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.