Struct cgmath::Cylinder [] [src]

pub struct Cylinder<S> {
    pub center: Point3<S>,
    pub axis: Vector3<S>,
    pub radius: S,
}

Fields

center
axis
radius

Trait Implementations

Derived Implementations

impl<S: Decodable> Decodable for Cylinder<S>

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Cylinder<S>, __D::Error>

impl<S: Encodable> Encodable for Cylinder<S>

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl<S: PartialEq> PartialEq for Cylinder<S>

fn eq(&self, __arg_0: &Cylinder<S>) -> bool

fn ne(&self, __arg_0: &Cylinder<S>) -> bool

impl<S: Clone> Clone for Cylinder<S>

fn clone(&self) -> Cylinder<S>

fn clone_from(&mut self, source: &Self)

impl<S: Copy> Copy for Cylinder<S>