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