[][src]Struct pbrt::core::geometry::Point3i

pub struct Point3i {
    pub x: i32,
    pub y: i32,
    pub z: i32,
}

Fields

x: i32y: i32z: i32

Trait Implementations

impl<'a, 'b> Add<&'a Vector3i> for &'b Point3i[src]

type Output = Point3i

The resulting type after applying the + operator.

impl<'a> Add<&'a Vector3i> for Point3i[src]

type Output = Point3i

The resulting type after applying the + operator.

impl<'a> Add<Vector3i> for &'a Point3i[src]

type Output = Point3i

The resulting type after applying the + operator.

impl Add<Vector3i> for Point3i[src]

type Output = Point3i

The resulting type after applying the + operator.

impl Clone for Point3i[src]

impl Copy for Point3i[src]

impl Debug for Point3i[src]

impl Default for Point3i[src]

impl Index<XYZEnum> for Point3i[src]

type Output = i32

The returned type after indexing.

impl IndexMut<XYZEnum> for Point3i[src]

impl<'a, 'b> Sub<&'a Point3i> for &'b Point3i[src]

type Output = Vector3i

The resulting type after applying the - operator.

impl<'a> Sub<&'a Point3i> for Point3i[src]

type Output = Vector3i

The resulting type after applying the - operator.

impl<'a> Sub<Point3i> for &'a Point3i[src]

type Output = Vector3i

The resulting type after applying the - operator.

impl Sub<Point3i> for Point3i[src]

type Output = Vector3i

The resulting type after applying the - operator.

Auto Trait Implementations

impl RefUnwindSafe for Point3i

impl Send for Point3i

impl Sync for Point3i

impl Unpin for Point3i

impl UnwindSafe for Point3i

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.