Struct ncollide_geometry::shape::Torus [] [src]

pub struct Torus<N> { /* fields omitted */ }

A torus.

Methods

impl<N> Torus<N>
[src]

Creates a new torus with the given radiuses.

impl<N: Real> Torus<N>
[src]

The torus minor radius.

The torus major radius.

Trait Implementations

impl<N: PartialEq> PartialEq for Torus<N>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<N: Debug> Debug for Torus<N>
[src]

Formats the value using the given formatter.

impl<N: Clone> Clone for Torus<N>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N: Encodable> Encodable for Torus<N>
[src]

Serialize a value using an Encoder.

impl<N: Decodable> Decodable for Torus<N>
[src]

Deserialize a value using a Decoder.