Struct gltf_json::extensions::material::PbrMetallicRoughness
source · pub struct PbrMetallicRoughness {
pub others: Map<String, Value>,
}
Expand description
A set of parameter values that are used to define the metallic-roughness material model from Physically-Based Rendering (PBR) methodology.
Fields§
§others: Map<String, Value>
Trait Implementations§
source§impl Clone for PbrMetallicRoughness
impl Clone for PbrMetallicRoughness
source§fn clone(&self) -> PbrMetallicRoughness
fn clone(&self) -> PbrMetallicRoughness
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 PbrMetallicRoughness
impl Debug for PbrMetallicRoughness
source§impl Default for PbrMetallicRoughness
impl Default for PbrMetallicRoughness
source§fn default() -> PbrMetallicRoughness
fn default() -> PbrMetallicRoughness
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PbrMetallicRoughness
impl<'de> Deserialize<'de> for PbrMetallicRoughness
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 Serialize for PbrMetallicRoughness
impl Serialize for PbrMetallicRoughness
Auto Trait Implementations§
impl RefUnwindSafe for PbrMetallicRoughness
impl Send for PbrMetallicRoughness
impl Sync for PbrMetallicRoughness
impl Unpin for PbrMetallicRoughness
impl UnwindSafe for PbrMetallicRoughness
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