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