Enum librashader::presets::ParseErrorKind
source · pub enum ParseErrorKind {
Index(&'static str),
Int,
UnsignedInt,
Float,
Bool,
}
Available on crate feature
presets
only.Expand description
The kind of error that may occur in parsing.
Variants§
Index(&'static str)
Expected an indexed key (i.e. shader0
, shader1
, …)
Int
Expected a signed integer.
UnsignedInt
Expected an unsigned integer.
Float
Expected a float.
Bool
Expected a boolean.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ParseErrorKind
impl Send for ParseErrorKind
impl Sync for ParseErrorKind
impl Unpin for ParseErrorKind
impl UnwindSafe for ParseErrorKind
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