Struct rs_pbrt::core::camera::CameraSample
source · pub struct CameraSample {
pub p_film: Point2f,
pub p_lens: Point2f,
pub time: Float,
}
Fields§
§p_film: Point2f
§p_lens: Point2f
§time: Float
Trait Implementations§
source§impl Clone for CameraSample
impl Clone for CameraSample
source§fn clone(&self) -> CameraSample
fn clone(&self) -> CameraSample
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 CameraSample
impl Debug for CameraSample
source§impl Default for CameraSample
impl Default for CameraSample
source§fn default() -> CameraSample
fn default() -> CameraSample
Returns the “default value” for a type. Read more
impl Copy for CameraSample
Auto Trait Implementations§
impl RefUnwindSafe for CameraSample
impl Send for CameraSample
impl Sync for CameraSample
impl Unpin for CameraSample
impl UnwindSafe for CameraSample
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()
.