pub enum GeometryFunction {
SmithSchlickGGX,
}Expand description
The geometry function used in a Cook-Torrance lighting model.
Variants§
SmithSchlickGGX
Trait Implementations§
Source§impl Clone for GeometryFunction
impl Clone for GeometryFunction
Source§fn clone(&self) -> GeometryFunction
fn clone(&self) -> GeometryFunction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GeometryFunction
Source§impl Debug for GeometryFunction
impl Debug for GeometryFunction
impl Eq for GeometryFunction
Source§impl PartialEq for GeometryFunction
impl PartialEq for GeometryFunction
Source§fn eq(&self, other: &GeometryFunction) -> bool
fn eq(&self, other: &GeometryFunction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GeometryFunction
Auto Trait Implementations§
impl Freeze for GeometryFunction
impl RefUnwindSafe for GeometryFunction
impl Send for GeometryFunction
impl Sync for GeometryFunction
impl Unpin for GeometryFunction
impl UnsafeUnpin for GeometryFunction
impl UnwindSafe for GeometryFunction
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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