[−][src]Enum luminance::tess::TessError
Possible errors that might occur when dealing with Tess
.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CannotCreate(String)
Cannot create a tessellation.
AttributelessError(String)
Error related to attributeless tessellation and/or render.
LengthIncoherency(usize)
Length incoherency in vertex, index or instance buffers.
InternalBufferError(BufferError)
Internal error ocurring with a buffer.
ForbiddenPrimitiveMode(Mode)
Forbidden primitive mode by hardware.
No data provided and empty tessellation.
Implementations
impl TessError
[src]
pub fn cannot_create(e: impl Into<String>) -> Self
[src]
Cannot create a tessellation.
pub fn attributeless_error(e: impl Into<String>) -> Self
[src]
Error related to attributeless tessellation and/or render.
pub fn length_incoherency(len: usize) -> Self
[src]
Length incoherency in vertex, index or instance buffers.
pub fn internal_buffer_error(e: BufferError) -> Self
[src]
Internal error ocurring with a buffer.
pub fn forbidden_primitive_mode(mode: Mode) -> Self
[src]
Forbidden primitive mode by hardware.
pub fn no_data() -> Self
[src]
No data or empty tessellation.
Trait Implementations
impl Debug for TessError
[src]
impl Display for TessError
[src]
impl Eq for TessError
[src]
impl Error for TessError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<BufferError> for TessError
[src]
fn from(e: BufferError) -> Self
[src]
impl PartialEq<TessError> for TessError
[src]
impl StructuralEq for TessError
[src]
impl StructuralPartialEq for TessError
[src]
Auto Trait Implementations
impl RefUnwindSafe for TessError
impl Send for TessError
impl Sync for TessError
impl Unpin for TessError
impl UnwindSafe for TessError
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> 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>,