pub struct StandardMaterialBuilder {
pub color: Option<&'static str>,
pub roughness: Option<f32>,
pub metalness: Option<f32>,
pub children: Option<Vec<NodeBlueprint>>,
pub __strata_key: Option<String>,
}Fields§
§color: Option<&'static str>§roughness: Option<f32>§metalness: Option<f32>§children: Option<Vec<NodeBlueprint>>§__strata_key: Option<String>Implementations§
Source§impl StandardMaterialBuilder
impl StandardMaterialBuilder
pub fn color(self, val: impl Into<Option<&'static str>>) -> Self
pub fn roughness(self, val: impl Into<Option<f32>>) -> Self
pub fn metalness(self, val: impl Into<Option<f32>>) -> Self
pub fn children(self, children: Vec<NodeBlueprint>) -> Self
pub fn key(self, key: impl Display) -> Self
pub fn build(self) -> View
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StandardMaterialBuilder
impl !Send for StandardMaterialBuilder
impl !Sync for StandardMaterialBuilder
impl !UnwindSafe for StandardMaterialBuilder
impl Forget for StandardMaterialBuilder
impl Freeze for StandardMaterialBuilder
impl Move for StandardMaterialBuilder
impl Unpin for StandardMaterialBuilder
impl UnsafeUnpin for StandardMaterialBuilder
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