[][src]Struct polyhorn_ios::geometry::ByEdge

pub struct ByEdge<T> {
    pub horizontal: LayoutAxisX<T>,
    pub vertical: LayoutAxisY<T>,
}

This is a wrapper that contains a value of the given type for each edge of a rectangle.

Fields

horizontal: LayoutAxisX<T>

This field contains the horizontal edges (i.e. either left and right, or leading and trailing edges).

vertical: LayoutAxisY<T>

This field contains the vertical edges (i.e. top and bottom).

Trait Implementations

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

impl<T1, T2> Convert<PLYByEdge<T2>> for ByEdge<T1> where
    T1: Convert<T2>, 
[src]

impl<T> Copy for ByEdge<T> where
    T: Copy
[src]

impl<T> Debug for ByEdge<T> where
    T: Debug
[src]

impl<T> Default for ByEdge<T> where
    T: Default
[src]

impl<T> Eq for ByEdge<T> where
    T: Eq
[src]

impl<T> PartialEq<ByEdge<T>> for ByEdge<T> where
    T: PartialEq<T>, 
[src]

impl<T> StructuralEq for ByEdge<T>[src]

impl<T> StructuralPartialEq for ByEdge<T>[src]

impl<T> ToTokens for ByEdge<T> where
    T: ToTokens
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ByEdge<T> where
    T: RefUnwindSafe

impl<T> Send for ByEdge<T> where
    T: Send

impl<T> Sync for ByEdge<T> where
    T: Sync

impl<T> Unpin for ByEdge<T> where
    T: Unpin

impl<T> UnwindSafe for ByEdge<T> where
    T: UnwindSafe

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

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

impl<T> AsAny 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, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

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

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

impl<T> IsDefault for T where
    T: PartialEq<T> + Default + Copy
[src]

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

type Owned = T

The resulting type after obtaining ownership.

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.