Struct collision::Cylinder
[−]
[src]
pub struct Cylinder<S> { pub center: Point3<S>, pub axis: Vector3<S>, pub radius: S, }
Fields
center: Point3<S>
axis: Vector3<S>
radius: S
Trait Implementations
impl<S: PartialEq> PartialEq for Cylinder<S>
[src]
fn eq(&self, __arg_0: &Cylinder<S>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Cylinder<S>) -> bool
This method tests for !=
.
impl<S: Clone> Clone for Cylinder<S>
[src]
fn clone(&self) -> Cylinder<S>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more