Enum wgpu_core::resource::CreateSamplerError
source · pub enum CreateSamplerError {
Device(DeviceError),
InvalidClamp(u8),
TooManyObjects,
MissingFeatures(MissingFeatures),
}
Variants§
Device(DeviceError)
InvalidClamp(u8)
TooManyObjects
MissingFeatures(MissingFeatures)
AddressMode::ClampToBorder requires feature ADDRESS_MODE_CLAMP_TO_BORDER.
Trait Implementations§
source§impl Clone for CreateSamplerError
impl Clone for CreateSamplerError
source§fn clone(&self) -> CreateSamplerError
fn clone(&self) -> CreateSamplerError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateSamplerError
impl Debug for CreateSamplerError
source§impl Display for CreateSamplerError
impl Display for CreateSamplerError
source§impl Error for CreateSamplerError
impl Error for CreateSamplerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<DeviceError> for CreateSamplerError
impl From<DeviceError> for CreateSamplerError
source§fn from(source: DeviceError) -> Self
fn from(source: DeviceError) -> Self
Converts to this type from the input type.
source§impl From<MissingFeatures> for CreateSamplerError
impl From<MissingFeatures> for CreateSamplerError
source§fn from(source: MissingFeatures) -> Self
fn from(source: MissingFeatures) -> Self
Converts to this type from the input type.