Struct bevy_hexasphere::Subdivided [−][src]
Implementations
impl<T, V: Vec3, S: BaseShape<V> + Default> Subdivided<T, V, S>
[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]
subdivisions: usize,
generator: impl FnMut(V) -> T,
shape: S
) -> Self
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,
S: RefUnwindSafe,
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<T, V, S> Send for Subdivided<T, V, S> where
S: Send,
T: Send,
V: Send,
S: Send,
T: Send,
V: Send,
impl<T, V, S> Sync for Subdivided<T, V, S> where
S: Sync,
T: Sync,
V: Sync,
S: Sync,
T: Sync,
V: Sync,
impl<T, V, S> Unpin for Subdivided<T, V, S> where
S: Unpin,
T: Unpin,
V: Unpin,
S: Unpin,
T: Unpin,
V: Unpin,
impl<T, V, S> UnwindSafe for Subdivided<T, V, S> where
S: UnwindSafe,
T: UnwindSafe,
V: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,