pub struct MeshBuilder {
pub position: Option<[f32; 3]>,
pub rotation: Option<[f32; 3]>,
pub scale: Option<[f32; 3]>,
pub children: Option<Vec<NodeBlueprint>>,
}Fields§
§position: Option<[f32; 3]>§rotation: Option<[f32; 3]>§scale: Option<[f32; 3]>§children: Option<Vec<NodeBlueprint>>Implementations§
Source§impl MeshBuilder
impl MeshBuilder
pub fn position(self, val: impl Into<Option<[f32; 3]>>) -> Self
pub fn rotation(self, val: impl Into<Option<[f32; 3]>>) -> Self
pub fn scale(self, val: impl Into<Option<[f32; 3]>>) -> Self
pub fn children(self, val: impl Into<Option<Vec<NodeBlueprint>>>) -> Self
pub fn build(self) -> View
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for MeshBuilder
impl !Send for MeshBuilder
impl !Sync for MeshBuilder
impl !UnwindSafe for MeshBuilder
impl Forget for MeshBuilder
impl Freeze for MeshBuilder
impl Move for MeshBuilder
impl Unpin for MeshBuilder
impl UnsafeUnpin for MeshBuilder
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