Enum gdk4::VulkanError
source · [−]#[non_exhaustive]
pub enum VulkanError {
Unsupported,
NotAvailable,
// some variants omitted
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Unsupported
NotAvailable
Trait Implementations
sourceimpl Clone for VulkanError
impl Clone for VulkanError
sourcefn clone(&self) -> VulkanError
fn clone(&self) -> VulkanError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VulkanError
impl Debug for VulkanError
sourceimpl Display for VulkanError
impl Display for VulkanError
sourceimpl ErrorDomain for VulkanError
impl ErrorDomain for VulkanError
sourceimpl<'a> FromValue<'a> for VulkanError
impl<'a> FromValue<'a> for VulkanError
type Checker = GenericValueTypeChecker<VulkanError>
type Checker = GenericValueTypeChecker<VulkanError>
Value type checker.
sourceunsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a Value
. Read more
sourceimpl Hash for VulkanError
impl Hash for VulkanError
sourceimpl Ord for VulkanError
impl Ord for VulkanError
sourceimpl PartialEq<VulkanError> for VulkanError
impl PartialEq<VulkanError> for VulkanError
sourcefn eq(&self, other: &VulkanError) -> bool
fn eq(&self, other: &VulkanError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VulkanError) -> bool
fn ne(&self, other: &VulkanError) -> bool
This method tests for !=
.
sourceimpl PartialOrd<VulkanError> for VulkanError
impl PartialOrd<VulkanError> for VulkanError
sourcefn partial_cmp(&self, other: &VulkanError) -> Option<Ordering>
fn partial_cmp(&self, other: &VulkanError) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl StaticType for VulkanError
impl StaticType for VulkanError
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
sourceimpl ToValue for VulkanError
impl ToValue for VulkanError
sourceimpl ValueType for VulkanError
impl ValueType for VulkanError
type Type = VulkanError
type Type = VulkanError
Type to get the Type
from. Read more
impl Copy for VulkanError
impl Eq for VulkanError
impl StructuralEq for VulkanError
impl StructuralPartialEq for VulkanError
Auto Trait Implementations
impl RefUnwindSafe for VulkanError
impl Send for VulkanError
impl Sync for VulkanError
impl Unpin for VulkanError
impl UnwindSafe for VulkanError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> StaticTypeExt for T where
T: StaticType,
impl<T> StaticTypeExt for T where
T: StaticType,
sourcefn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
sourceimpl<T> ToClosureReturnValue for T where
T: ToValue,
impl<T> ToClosureReturnValue for T where
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
sourceimpl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
sourcefn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a SendValue
clone of self
.