pub struct LightSampleRec {
pub normal: F3,
pub emission: F3,
pub direction: F3,
pub dist: F,
pub pdf: F,
}Fields§
§normal: F3§emission: F3§direction: F3§dist: F§pdf: FImplementations§
Trait Implementations§
Source§impl Clone for LightSampleRec
impl Clone for LightSampleRec
Source§fn clone(&self) -> LightSampleRec
fn clone(&self) -> LightSampleRec
Returns a duplicate 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 LightSampleRec
impl Debug for LightSampleRec
Source§impl PartialEq for LightSampleRec
impl PartialEq for LightSampleRec
impl StructuralPartialEq for LightSampleRec
Auto Trait Implementations§
impl Freeze for LightSampleRec
impl RefUnwindSafe for LightSampleRec
impl Send for LightSampleRec
impl Sync for LightSampleRec
impl Unpin for LightSampleRec
impl UnwindSafe for LightSampleRec
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> Variant for T
impl<T> Variant for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert this
Variant trait object to &mut dyn Any.Source§fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
Convert this
Variant trait object to Box<dyn Any>.