pub enum FftBackendError {
NoAdapter,
DeviceCreation(String),
ShaderCompilation(String),
Buffer(String),
NonPowerOfTwo(usize),
}Expand description
Errors specific to the wgpu FFT back-end.
Variants§
NoAdapter
No compatible GPU adapter was found on this system.
DeviceCreation(String)
The adapter was found but the device could not be created.
ShaderCompilation(String)
A shader compilation error occurred.
Buffer(String)
A buffer operation (upload/readback) failed.
NonPowerOfTwo(usize)
The input length is not a power of two (required by the shader).
Trait Implementations§
Source§impl Debug for FftBackendError
impl Debug for FftBackendError
Source§impl Display for FftBackendError
impl Display for FftBackendError
Source§impl Error for FftBackendError
impl Error for FftBackendError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<FftBackendError> for FFTError
impl From<FftBackendError> for FFTError
Source§fn from(e: FftBackendError) -> Self
fn from(e: FftBackendError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FftBackendError
impl RefUnwindSafe for FftBackendError
impl Send for FftBackendError
impl Sync for FftBackendError
impl Unpin for FftBackendError
impl UnsafeUnpin for FftBackendError
impl UnwindSafe for FftBackendError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more