Enum three_d_asset::material::GeometryFunction
source · 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 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 GeometryFunction
impl Debug for GeometryFunction
source§impl<'de> Deserialize<'de> for GeometryFunction
impl<'de> Deserialize<'de> for GeometryFunction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for GeometryFunction
impl PartialEq for GeometryFunction
source§fn eq(&self, other: &GeometryFunction) -> bool
fn eq(&self, other: &GeometryFunction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for GeometryFunction
impl Serialize for GeometryFunction
impl Copy for GeometryFunction
impl StructuralPartialEq for GeometryFunction
Auto Trait Implementations§
impl RefUnwindSafe for GeometryFunction
impl Send for GeometryFunction
impl Sync for GeometryFunction
impl Unpin for GeometryFunction
impl UnwindSafe for GeometryFunction
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