#[repr(i32)]pub enum LIBRA_ERRNO {
UNKNOWN_ERROR = 0,
INVALID_PARAMETER = 1,
INVALID_STRING = 2,
PRESET_ERROR = 3,
PREPROCESS_ERROR = 4,
SHADER_PARAMETER_ERROR = 5,
REFLECT_ERROR = 6,
RUNTIME_ERROR = 7,
}Expand description
Error codes for librashader error types.
Variants§
UNKNOWN_ERROR = 0
Error code for an unknown error.
INVALID_PARAMETER = 1
Error code for an invalid parameter.
INVALID_STRING = 2
Error code for an invalid (non-UTF8) string.
PRESET_ERROR = 3
Error code for a preset parser error.
PREPROCESS_ERROR = 4
Error code for a preprocessor error.
SHADER_PARAMETER_ERROR = 5
Error code for a shader parameter error.
REFLECT_ERROR = 6
Error code for a reflection error.
RUNTIME_ERROR = 7
Error code for a runtime error.
Auto Trait Implementations§
impl Freeze for LIBRA_ERRNO
impl RefUnwindSafe for LIBRA_ERRNO
impl Send for LIBRA_ERRNO
impl Sync for LIBRA_ERRNO
impl Unpin for LIBRA_ERRNO
impl UnwindSafe for LIBRA_ERRNO
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more