[][src]Enum arcs::components::Geometry

#[non_exhaustive]pub enum Geometry {
    Line(Line),
    Arc(Arc),
    Point(Point),
}

The geometry of a DrawingObject.

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.
Line(Line)
Arc(Arc)
Point(Point)

Trait Implementations

impl Bounded<DrawingSpace> for Geometry[src]

impl Clone for Geometry[src]

impl ClosestPoint<DrawingSpace> for Geometry[src]

impl Debug for Geometry[src]

impl PartialEq<Geometry> for Geometry[src]

impl StructuralPartialEq for Geometry[src]

impl Translate<DrawingSpace> for Geometry[src]

Auto Trait Implementations

impl RefUnwindSafe for Geometry

impl Send for Geometry

impl Sync for Geometry

impl Unpin for Geometry

impl UnwindSafe for Geometry

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Event for T where
    T: Send + Sync + 'static, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Resource for T where
    T: Any + Send + Sync
[src]

impl<T> RoundFrom<T> for T[src]

impl<T, U> RoundInto<U> for T where
    U: RoundFrom<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<Space, A> Translate<Space> for A where
    A: AffineTransformable
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.