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

impl<S: Copy> Copy for Cylinder<S>
[src]

impl<S: Decodable> Decodable for Cylinder<S>
[src]

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

impl<S: Encodable> Encodable for Cylinder<S>
[src]

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