Struct bevy_hexasphere::Subdivided[][src]

pub struct Subdivided<T, V: Vec3, S: BaseShape<V>> { /* fields omitted */ }

Implementations

impl<T, V: Vec3, S: BaseShape<V> + Default> Subdivided<T, V, S>[src]

pub fn new(subdivisions: usize, generator: impl FnMut(V) -> T) -> Self[src]

impl<T, V: Vec3, S: BaseShape<V>> Subdivided<T, V, S>[src]

pub fn new_custom_shape(
    subdivisions: usize,
    generator: impl FnMut(V) -> T,
    shape: S
) -> Self
[src]

pub fn raw_user_data(&self) -> &[T][src]

pub fn raw_points(&self) -> &[V][src]

pub fn get_indices(&self, triangle: usize, buffer: &mut Vec<u32>)[src]

pub fn get_all_indices(&self) -> Vec<u32>[src]

pub fn subdivisions(&self) -> usize[src]

Auto Trait Implementations

impl<T, V, S> RefUnwindSafe for Subdivided<T, V, S> where
    S: RefUnwindSafe,
    T: RefUnwindSafe,
    V: RefUnwindSafe

impl<T, V, S> Send for Subdivided<T, V, S> where
    S: Send,
    T: Send,
    V: Send

impl<T, V, S> Sync for Subdivided<T, V, S> where
    S: Sync,
    T: Sync,
    V: Sync

impl<T, V, S> Unpin for Subdivided<T, V, S> where
    S: Unpin,
    T: Unpin,
    V: Unpin

impl<T, V, S> UnwindSafe for Subdivided<T, V, S> where
    S: UnwindSafe,
    T: UnwindSafe,
    V: UnwindSafe

Blanket Implementations

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

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

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

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

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

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

type Error = Infallible

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.