pub struct CylinderModel {
pub axis_point: Vec3<f32>,
pub axis_direction: Vec3<f32>,
pub radius: f32,
}Expand description
Cylinder model: all surface points are radius from the axis line.
Fields§
§axis_point: Vec3<f32>A point lying on the cylinder axis.
axis_direction: Vec3<f32>Unit-length axis direction.
radius: f32Cylinder radius.
Implementations§
Trait Implementations§
Source§impl Clone for CylinderModel
impl Clone for CylinderModel
Source§fn clone(&self) -> CylinderModel
fn clone(&self) -> CylinderModel
Returns a duplicate 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 CylinderModel
impl Debug for CylinderModel
Source§impl PartialEq for CylinderModel
impl PartialEq for CylinderModel
impl Copy for CylinderModel
impl StructuralPartialEq for CylinderModel
Auto Trait Implementations§
impl Freeze for CylinderModel
impl RefUnwindSafe for CylinderModel
impl Send for CylinderModel
impl Sync for CylinderModel
impl Unpin for CylinderModel
impl UnsafeUnpin for CylinderModel
impl UnwindSafe for CylinderModel
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