pub enum FrameConstructionError {
NullDirection,
ParallelDirections,
NotOrthogonal,
NonFinite,
}Expand description
Error returned when an axis or frame cannot be constructed from the given inputs.
Variants§
NullDirection
A direction vector could not be normalized (zero length).
ParallelDirections
Two directions that should span a plane are parallel.
NotOrthogonal
Two directions that should be orthogonal are not.
NonFinite
The origin or a direction has a NaN or infinite coordinate.
Trait Implementations§
Source§impl Clone for FrameConstructionError
impl Clone for FrameConstructionError
impl Copy for FrameConstructionError
Source§impl Debug for FrameConstructionError
impl Debug for FrameConstructionError
Source§impl Display for FrameConstructionError
impl Display for FrameConstructionError
impl Eq for FrameConstructionError
Source§impl Error for FrameConstructionError
impl Error for FrameConstructionError
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 PartialEq for FrameConstructionError
impl PartialEq for FrameConstructionError
impl StructuralPartialEq for FrameConstructionError
Auto Trait Implementations§
impl Freeze for FrameConstructionError
impl RefUnwindSafe for FrameConstructionError
impl Send for FrameConstructionError
impl Sync for FrameConstructionError
impl Unpin for FrameConstructionError
impl UnsafeUnpin for FrameConstructionError
impl UnwindSafe for FrameConstructionError
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