Enum spirv_cross_sys::spvc_result
source · #[repr(i32)]pub enum spvc_result {
SPVC_SUCCESS = 0,
SPVC_ERROR_INVALID_SPIRV = -1,
SPVC_ERROR_UNSUPPORTED_SPIRV = -2,
SPVC_ERROR_OUT_OF_MEMORY = -3,
SPVC_ERROR_INVALID_ARGUMENT = -4,
}Variants§
SPVC_SUCCESS = 0
SPVC_ERROR_INVALID_SPIRV = -1
SPVC_ERROR_UNSUPPORTED_SPIRV = -2
SPVC_ERROR_OUT_OF_MEMORY = -3
SPVC_ERROR_INVALID_ARGUMENT = -4
Implementations§
source§impl spvc_result
impl spvc_result
pub fn ok(self, context: impl ContextRooted) -> Result<(), SpirvCrossError>
Trait Implementations§
source§impl Clone for spvc_result
impl Clone for spvc_result
source§fn clone(&self) -> spvc_result
fn clone(&self) -> spvc_result
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 spvc_result
impl Debug for spvc_result
source§impl Hash for spvc_result
impl Hash for spvc_result
source§impl PartialEq for spvc_result
impl PartialEq for spvc_result
impl Copy for spvc_result
impl Eq for spvc_result
impl StructuralPartialEq for spvc_result
Auto Trait Implementations§
impl Freeze for spvc_result
impl RefUnwindSafe for spvc_result
impl Send for spvc_result
impl Sync for spvc_result
impl Unpin for spvc_result
impl UnwindSafe for spvc_result
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)