[−][src]Struct pbrt::core::geometry::Point2i
Fields
x: i32
y: i32
Trait Implementations
impl<'a, 'b> Add<&'a Point2i> for &'b Point2i
[src]
type Output = Point2i
The resulting type after applying the +
operator.
fn add(self, rhs: &Point2i) -> Self::Output
[src]
impl<'a> Add<&'a Point2i> for Point2i
[src]
type Output = Point2i
The resulting type after applying the +
operator.
fn add(self, rhs: &Point2i) -> Self::Output
[src]
impl<'a> Add<Point2i> for &'a Point2i
[src]
type Output = Point2i
The resulting type after applying the +
operator.
fn add(self, rhs: Point2i) -> Self::Output
[src]
impl Add<Point2i> for Point2i
[src]
type Output = Point2i
The resulting type after applying the +
operator.
fn add(self, rhs: Point2i) -> Self::Output
[src]
impl Clone for Point2i
[src]
impl Copy for Point2i
[src]
impl Debug for Point2i
[src]
impl Default for Point2i
[src]
impl From<Vector2i> for Point2i
[src]
impl Index<XYEnum> for Point2i
[src]
impl IndexMut<XYEnum> for Point2i
[src]
impl<'a, 'b> Sub<&'a Point2i> for &'b Point2i
[src]
type Output = Vector2i
The resulting type after applying the -
operator.
fn sub(self, rhs: &Point2i) -> Self::Output
[src]
impl<'a> Sub<&'a Point2i> for Point2i
[src]
type Output = Vector2i
The resulting type after applying the -
operator.
fn sub(self, rhs: &Point2i) -> Self::Output
[src]
impl<'a, 'b> Sub<&'a Vector2i> for &'b Point2i
[src]
type Output = Point2i
The resulting type after applying the -
operator.
fn sub(self, rhs: &Vector2i) -> Self::Output
[src]
impl<'a> Sub<&'a Vector2i> for Point2i
[src]
type Output = Point2i
The resulting type after applying the -
operator.
fn sub(self, rhs: &Vector2i) -> Self::Output
[src]
impl<'a> Sub<Point2i> for &'a Point2i
[src]
type Output = Vector2i
The resulting type after applying the -
operator.
fn sub(self, rhs: Point2i) -> Self::Output
[src]
impl Sub<Point2i> for Point2i
[src]
type Output = Vector2i
The resulting type after applying the -
operator.
fn sub(self, rhs: Point2i) -> Self::Output
[src]
impl<'a> Sub<Vector2i> for &'a Point2i
[src]
type Output = Point2i
The resulting type after applying the -
operator.
fn sub(self, rhs: Vector2i) -> Self::Output
[src]
impl Sub<Vector2i> for Point2i
[src]
Auto Trait Implementations
impl RefUnwindSafe for Point2i
impl Send for Point2i
impl Sync for Point2i
impl Unpin for Point2i
impl UnwindSafe for Point2i
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,