Struct rs_pbrt::cameras::realistic::LensElementInterface
source · pub struct LensElementInterface {
pub curvature_radius: Float,
pub thickness: Float,
pub eta: Float,
pub aperture_radius: Float,
}
Fields§
§curvature_radius: Float
§thickness: Float
§eta: Float
§aperture_radius: Float
Trait Implementations§
source§impl Clone for LensElementInterface
impl Clone for LensElementInterface
source§fn clone(&self) -> LensElementInterface
fn clone(&self) -> LensElementInterface
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 LensElementInterface
impl Debug for LensElementInterface
source§impl Default for LensElementInterface
impl Default for LensElementInterface
source§fn default() -> LensElementInterface
fn default() -> LensElementInterface
Returns the “default value” for a type. Read more
impl Copy for LensElementInterface
Auto Trait Implementations§
impl RefUnwindSafe for LensElementInterface
impl Send for LensElementInterface
impl Sync for LensElementInterface
impl Unpin for LensElementInterface
impl UnwindSafe for LensElementInterface
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()
.