pub enum GeometryBuilderError {
InvalidVertex,
TooManyVertices,
}Expand description
An error that can happen while generating geometry.
Variants§
Trait Implementations§
Source§impl Clone for GeometryBuilderError
impl Clone for GeometryBuilderError
Source§fn clone(&self) -> GeometryBuilderError
fn clone(&self) -> GeometryBuilderError
Returns a duplicate 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 GeometryBuilderError
impl Debug for GeometryBuilderError
Source§impl Display for GeometryBuilderError
Available on crate feature std only.
impl Display for GeometryBuilderError
Available on crate feature
std only.Source§impl Error for GeometryBuilderError
Available on crate feature std only.
impl Error for GeometryBuilderError
Available on crate feature
std only.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<GeometryBuilderError> for TessellationError
impl From<GeometryBuilderError> for TessellationError
Source§fn from(value: GeometryBuilderError) -> Self
fn from(value: GeometryBuilderError) -> Self
Converts to this type from the input type.
Source§impl Hash for GeometryBuilderError
impl Hash for GeometryBuilderError
Source§impl PartialEq for GeometryBuilderError
impl PartialEq for GeometryBuilderError
impl Copy for GeometryBuilderError
impl Eq for GeometryBuilderError
impl StructuralPartialEq for GeometryBuilderError
Auto Trait Implementations§
impl Freeze for GeometryBuilderError
impl RefUnwindSafe for GeometryBuilderError
impl Send for GeometryBuilderError
impl Sync for GeometryBuilderError
impl Unpin for GeometryBuilderError
impl UnwindSafe for GeometryBuilderError
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