[][src]Struct gut::mesh::builder::TorusBuilder

pub struct TorusBuilder {
    pub outer_radius: f32,
    pub inner_radius: f32,
    pub outer_divs: usize,
    pub inner_divs: usize,
}

Fields

outer_radius: f32inner_radius: f32outer_divs: usizeinner_divs: usize

Methods

impl TorusBuilder[src]

pub fn new() -> Self[src]

pub fn build(self) -> PolyMesh<f64>[src]

Trait Implementations

impl Clone for TorusBuilder[src]

impl Copy for TorusBuilder[src]

impl PartialEq<TorusBuilder> for TorusBuilder[src]

impl Debug for TorusBuilder[src]

impl StructuralPartialEq for TorusBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Bytes for T[src]

impl<T> Pod for T where
    T: 'static + Copy + Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]