Struct vulkanalia::vk::ErrorCode [−][src]
Result codes that indicate errors.
Implementations
impl ErrorCode
[src]
pub const OUT_OF_HOST_MEMORY: Self
[src]
pub const OUT_OF_DEVICE_MEMORY: Self
[src]
pub const INITIALIZATION_FAILED: Self
[src]
pub const DEVICE_LOST: Self
[src]
pub const MEMORY_MAP_FAILED: Self
[src]
pub const LAYER_NOT_PRESENT: Self
[src]
pub const EXTENSION_NOT_PRESENT: Self
[src]
pub const FEATURE_NOT_PRESENT: Self
[src]
pub const INCOMPATIBLE_DRIVER: Self
[src]
pub const TOO_MANY_OBJECTS: Self
[src]
pub const FORMAT_NOT_SUPPORTED: Self
[src]
pub const FRAGMENTED_POOL: Self
[src]
pub const UNKNOWN: Self
[src]
pub const OUT_OF_POOL_MEMORY: Self
[src]
pub const INVALID_EXTERNAL_HANDLE: Self
[src]
pub const FRAGMENTATION: Self
[src]
pub const INVALID_OPAQUE_CAPTURE_ADDRESS: Self
[src]
pub const SURFACE_LOST_KHR: Self
[src]
pub const NATIVE_WINDOW_IN_USE_KHR: Self
[src]
pub const OUT_OF_DATE_KHR: Self
[src]
pub const INCOMPATIBLE_DISPLAY_KHR: Self
[src]
pub const VALIDATION_FAILED_EXT: Self
[src]
pub const INVALID_SHADER_NV: Self
[src]
pub const INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT: Self
[src]
pub const NOT_PERMITTED_EXT: Self
[src]
pub const FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT: Self
[src]
pub const fn from_raw(value: i32) -> Self
[src]
Constructs an instance of this enum with the supplied underlying value.
pub const fn as_raw(self) -> i32
[src]
Gets the underlying value for this enum instance.
Trait Implementations
impl Clone for ErrorCode
[src]
impl Copy for ErrorCode
[src]
impl Debug for ErrorCode
[src]
impl Default for ErrorCode
[src]
impl Display for ErrorCode
[src]
impl Eq for ErrorCode
[src]
impl Error for ErrorCode
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<ErrorCode> for Result
[src]
impl From<Result> for ErrorCode
[src]
impl Hash for ErrorCode
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ErrorCode
[src]
fn cmp(&self, other: &ErrorCode) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<ErrorCode> for ErrorCode
[src]
impl PartialOrd<ErrorCode> for ErrorCode
[src]
fn partial_cmp(&self, other: &ErrorCode) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for ErrorCode
[src]
impl StructuralPartialEq for ErrorCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,