pub struct Geometry {
pub material_name: Option<String>,
pub shapes: Vec<Shape>,
}
Expand description
A set of shapes, all using the given material.
Fields§
§material_name: Option<String>
A reference to the material to apply to this geometry.
shapes: Vec<Shape>
The shapes of which this geometry is composed.
Trait Implementations§
impl StructuralPartialEq for Geometry
Auto Trait Implementations§
impl Freeze for Geometry
impl RefUnwindSafe for Geometry
impl Send for Geometry
impl Sync for Geometry
impl Unpin for Geometry
impl UnwindSafe for Geometry
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