[−][src]Struct pbrt::core::geometry::Bounds2f
Fields
p_min: Point2f
p_max: Point2f
Implementations
impl Bounds2f
[src]
pub fn diagonal(&self) -> Vector2f
[src]
pub fn area(&self) -> Float
[src]
pub fn lerp(&self, t: Point2f) -> Point2f
[src]
pub fn offset(&self, p: Point2f) -> Vector2f
[src]
Trait Implementations
impl Clone for Bounds2f
[src]
impl Copy for Bounds2f
[src]
impl Debug for Bounds2f
[src]
impl Default for Bounds2f
[src]
Auto Trait Implementations
impl RefUnwindSafe for Bounds2f
impl Send for Bounds2f
impl Sync for Bounds2f
impl Unpin for Bounds2f
impl UnwindSafe for Bounds2f
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>,