pub enum GeometryBuilderError {
InvalidVertex,
TooManyVertices,
}
Expand description
An error that can happen while generating geometry.
Variants
InvalidVertex
TooManyVertices
Trait Implementations
sourceimpl Clone for GeometryBuilderError
impl Clone for GeometryBuilderError
sourcefn clone(&self) -> GeometryBuilderError
fn clone(&self) -> GeometryBuilderError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GeometryBuilderError
impl Debug for GeometryBuilderError
sourceimpl Display for GeometryBuilderError
impl Display for GeometryBuilderError
sourceimpl Error for GeometryBuilderError
impl Error for GeometryBuilderError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<GeometryBuilderError> for TessellationError
impl From<GeometryBuilderError> for TessellationError
sourcefn from(source: GeometryBuilderError) -> Self
fn from(source: GeometryBuilderError) -> Self
Converts to this type from the input type.
sourceimpl Hash for GeometryBuilderError
impl Hash for GeometryBuilderError
sourceimpl PartialEq<GeometryBuilderError> for GeometryBuilderError
impl PartialEq<GeometryBuilderError> for GeometryBuilderError
sourcefn eq(&self, other: &GeometryBuilderError) -> bool
fn eq(&self, other: &GeometryBuilderError) -> bool
impl Copy for GeometryBuilderError
impl Eq for GeometryBuilderError
impl StructuralEq for GeometryBuilderError
impl StructuralPartialEq for GeometryBuilderError
Auto Trait Implementations
impl RefUnwindSafe for GeometryBuilderError
impl Send for GeometryBuilderError
impl Sync for GeometryBuilderError
impl Unpin for GeometryBuilderError
impl UnwindSafe for GeometryBuilderError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more