[][src]Struct pbrt::core::transform::Interval

pub struct Interval {
    pub low: Float,
    pub high: Float,
}

Fields

low: Floathigh: Float

Implementations

impl Interval[src]

pub fn new(v0: Float, v1: Float) -> Self[src]

Trait Implementations

impl Add<Interval> for Interval[src]

type Output = Interval

The resulting type after applying the + operator.

impl Clone for Interval[src]

impl Copy for Interval[src]

impl Debug for Interval[src]

impl Default for Interval[src]

impl Mul<Interval> for Interval[src]

type Output = Interval

The resulting type after applying the * operator.

Auto Trait Implementations

impl RefUnwindSafe for Interval

impl Send for Interval

impl Sync for Interval

impl Unpin for Interval

impl UnwindSafe for Interval

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.