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