pub struct SolidMeshPrimitive {
pub mesh: Rc<SolidMesh>,
pub uniform: MeshUniforms,
}
Fields§
§mesh: Rc<SolidMesh>
§uniform: MeshUniforms
Implementations§
Source§impl SolidMeshPrimitive
impl SolidMeshPrimitive
pub fn new(mesh: &Rc<SolidMesh>) -> Self
pub fn new_with_offset(mesh: &Rc<SolidMesh>, offset: Point) -> Self
pub fn new_with_rotation( mesh: &Rc<SolidMesh>, angle: Angle, rotation_origin: Point, offset: Point, ) -> Self
pub fn new_with_transform( mesh: &Rc<SolidMesh>, offset: Point, transform: Transform, ) -> Self
Trait Implementations§
Source§impl Clone for SolidMeshPrimitive
impl Clone for SolidMeshPrimitive
Source§impl Debug for SolidMeshPrimitive
impl Debug for SolidMeshPrimitive
Source§impl PartialEq for SolidMeshPrimitive
impl PartialEq for SolidMeshPrimitive
Auto Trait Implementations§
impl Freeze for SolidMeshPrimitive
impl RefUnwindSafe for SolidMeshPrimitive
impl !Send for SolidMeshPrimitive
impl !Sync for SolidMeshPrimitive
impl Unpin for SolidMeshPrimitive
impl UnwindSafe for SolidMeshPrimitive
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