Enum wgpu_profiler::SettingsError
source · pub enum SettingsError {
InvalidMaxNumPendingFrames,
}
Expand description
Errors that can occur during settings validation and change.
Variants§
InvalidMaxNumPendingFrames
Trait Implementations§
source§impl Debug for SettingsError
impl Debug for SettingsError
source§impl Display for SettingsError
impl Display for SettingsError
source§impl Error for SettingsError
impl Error for SettingsError
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<SettingsError> for CreationError
impl From<SettingsError> for CreationError
source§fn from(source: SettingsError) -> Self
fn from(source: SettingsError) -> Self
Converts to this type from the input type.
source§impl PartialEq for SettingsError
impl PartialEq for SettingsError
impl Eq for SettingsError
impl StructuralPartialEq for SettingsError
Auto Trait Implementations§
impl Freeze for SettingsError
impl RefUnwindSafe for SettingsError
impl Send for SettingsError
impl Sync for SettingsError
impl Unpin for SettingsError
impl UnwindSafe for SettingsError
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.