Enum wgpu_profiler::CreationError
source · pub enum CreationError {
InvalidSettings(SettingsError),
}
Expand description
Errors that can occur during profiler creation.
Variants§
InvalidSettings(SettingsError)
Trait Implementations§
source§impl Debug for CreationError
impl Debug for CreationError
source§impl Display for CreationError
impl Display for CreationError
source§impl Error for CreationError
impl Error for CreationError
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<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 CreationError
impl PartialEq for CreationError
source§fn eq(&self, other: &CreationError) -> bool
fn eq(&self, other: &CreationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CreationError
impl StructuralPartialEq for CreationError
Auto Trait Implementations§
impl Freeze for CreationError
impl RefUnwindSafe for CreationError
impl Send for CreationError
impl Sync for CreationError
impl Unpin for CreationError
impl UnwindSafe for CreationError
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.