Struct rs_pbrt::core::geometry::RayDifferential
source · pub struct RayDifferential {
pub rx_origin: Point3f,
pub ry_origin: Point3f,
pub rx_direction: Vector3f,
pub ry_direction: Vector3f,
}
Fields§
§rx_origin: Point3f
§ry_origin: Point3f
§rx_direction: Vector3f
§ry_direction: Vector3f
Trait Implementations§
source§impl Clone for RayDifferential
impl Clone for RayDifferential
source§fn clone(&self) -> RayDifferential
fn clone(&self) -> RayDifferential
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RayDifferential
impl Debug for RayDifferential
source§impl Default for RayDifferential
impl Default for RayDifferential
source§fn default() -> RayDifferential
fn default() -> RayDifferential
Returns the “default value” for a type. Read more
impl Copy for RayDifferential
Auto Trait Implementations§
impl RefUnwindSafe for RayDifferential
impl Send for RayDifferential
impl Sync for RayDifferential
impl Unpin for RayDifferential
impl UnwindSafe for RayDifferential
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.