pub enum MeshPrimitive {
Solid(SolidMeshPrimitive),
}
Variants§
Solid(SolidMeshPrimitive)
Implementations§
Source§impl MeshPrimitive
impl MeshPrimitive
pub fn set_offset(&mut self, offset: Point)
pub fn set_rotation(&mut self, angle: Angle, rotation_origin: Point)
pub fn set_transform(&mut self, transform: Transform)
Trait Implementations§
Source§impl Clone for MeshPrimitive
impl Clone for MeshPrimitive
Source§fn clone(&self) -> MeshPrimitive
fn clone(&self) -> MeshPrimitive
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MeshPrimitive
impl Debug for MeshPrimitive
Source§impl PartialEq for MeshPrimitive
impl PartialEq for MeshPrimitive
impl StructuralPartialEq for MeshPrimitive
Auto Trait Implementations§
impl Freeze for MeshPrimitive
impl RefUnwindSafe for MeshPrimitive
impl !Send for MeshPrimitive
impl !Sync for MeshPrimitive
impl Unpin for MeshPrimitive
impl UnwindSafe for MeshPrimitive
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