[][src]Enum pbrt::core::geometry::XYEnum

#[repr(u8)]pub enum XYEnum {
    X,
    Y,
}

Variants

X
Y

Trait Implementations

impl Clone for XYEnum[src]

impl Copy for XYEnum[src]

impl Debug for XYEnum[src]

impl Index<XYEnum> for Vector2f[src]

type Output = Float

The returned type after indexing.

impl Index<XYEnum> for Vector2i[src]

type Output = i32

The returned type after indexing.

impl Index<XYEnum> for Point2f[src]

type Output = Float

The returned type after indexing.

impl Index<XYEnum> for Point2i[src]

type Output = i32

The returned type after indexing.

impl IndexMut<XYEnum> for Vector2f[src]

impl IndexMut<XYEnum> for Vector2i[src]

impl IndexMut<XYEnum> for Point2f[src]

impl IndexMut<XYEnum> for Point2i[src]

impl IntoEnumIterator for XYEnum[src]

type Iterator = XYEnumIter

Auto Trait Implementations

impl RefUnwindSafe for XYEnum

impl Send for XYEnum

impl Sync for XYEnum

impl Unpin for XYEnum

impl UnwindSafe for XYEnum

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.