pub struct SphereGeometryBuilder {
pub radius: Option<f32>,
pub width_segments: Option<u32>,
pub height_segments: Option<u32>,
pub children: Option<Vec<NodeBlueprint>>,
pub __strata_key: Option<String>,
}Fields§
§radius: Option<f32>§width_segments: Option<u32>§height_segments: Option<u32>§children: Option<Vec<NodeBlueprint>>§__strata_key: Option<String>Implementations§
Source§impl SphereGeometryBuilder
impl SphereGeometryBuilder
pub fn radius(self, val: impl Into<Option<f32>>) -> Self
pub fn width_segments(self, val: impl Into<Option<u32>>) -> Self
pub fn height_segments(self, val: impl Into<Option<u32>>) -> 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 SphereGeometryBuilder
impl !Send for SphereGeometryBuilder
impl !Sync for SphereGeometryBuilder
impl !UnwindSafe for SphereGeometryBuilder
impl Forget for SphereGeometryBuilder
impl Freeze for SphereGeometryBuilder
impl Move for SphereGeometryBuilder
impl Unpin for SphereGeometryBuilder
impl UnsafeUnpin for SphereGeometryBuilder
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