pub struct PointLightBuilder {
pub position: Option<[f32; 3]>,
pub color: Option<&'static str>,
pub intensity: Option<f32>,
pub distance: Option<f32>,
pub children: Option<Vec<NodeBlueprint>>,
pub __strata_key: Option<String>,
}Fields§
§position: Option<[f32; 3]>§color: Option<&'static str>§intensity: Option<f32>§distance: Option<f32>§children: Option<Vec<NodeBlueprint>>§__strata_key: Option<String>Implementations§
Source§impl PointLightBuilder
impl PointLightBuilder
pub fn position(self, val: impl Into<Option<[f32; 3]>>) -> Self
pub fn color(self, val: impl Into<Option<&'static str>>) -> Self
pub fn intensity(self, val: impl Into<Option<f32>>) -> Self
pub fn distance(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 PointLightBuilder
impl !Send for PointLightBuilder
impl !Sync for PointLightBuilder
impl !UnwindSafe for PointLightBuilder
impl Forget for PointLightBuilder
impl Freeze for PointLightBuilder
impl Move for PointLightBuilder
impl Unpin for PointLightBuilder
impl UnsafeUnpin for PointLightBuilder
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