pub struct TessellatedPolygon<'p, T: Number, const N: usize, S: Index = usize> { /* private fields */ }Implementations§
Source§impl<T, const N: usize, S> TessellatedPolygon<'_, T, N, S>
impl<T, const N: usize, S> TessellatedPolygon<'_, T, N, S>
Source§impl<'p> TessellatedPolygon<'p, f32, 3, u32>
impl<'p> TessellatedPolygon<'p, f32, 3, u32>
pub fn to_bevy_mesh(&self) -> Mesh
Trait Implementations§
Source§impl<'p, T: Clone + Number, const N: usize, S: Clone + Index> Clone for TessellatedPolygon<'p, T, N, S>
impl<'p, T: Clone + Number, const N: usize, S: Clone + Index> Clone for TessellatedPolygon<'p, T, N, S>
Source§fn clone(&self) -> TessellatedPolygon<'p, T, N, S>
fn clone(&self) -> TessellatedPolygon<'p, T, N, S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'p, T: Debug + Number, const N: usize, S: Debug + Index> Debug for TessellatedPolygon<'p, T, N, S>
impl<'p, T: Debug + Number, const N: usize, S: Debug + Index> Debug for TessellatedPolygon<'p, T, N, S>
Source§impl<'p, T: PartialEq + Number, const N: usize, S: PartialEq + Index> PartialEq for TessellatedPolygon<'p, T, N, S>
impl<'p, T: PartialEq + Number, const N: usize, S: PartialEq + Index> PartialEq for TessellatedPolygon<'p, T, N, S>
Source§fn eq(&self, other: &TessellatedPolygon<'p, T, N, S>) -> bool
fn eq(&self, other: &TessellatedPolygon<'p, T, N, S>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'p, T: Number, const N: usize, S: Index> StructuralPartialEq for TessellatedPolygon<'p, T, N, S>
Auto Trait Implementations§
impl<'p, T, const N: usize, S> Freeze for TessellatedPolygon<'p, T, N, S>
impl<'p, T, const N: usize, S> RefUnwindSafe for TessellatedPolygon<'p, T, N, S>where
T: RefUnwindSafe,
S: RefUnwindSafe,
impl<'p, T, const N: usize, S> Send for TessellatedPolygon<'p, T, N, S>
impl<'p, T, const N: usize, S> Sync for TessellatedPolygon<'p, T, N, S>
impl<'p, T, const N: usize, S> Unpin for TessellatedPolygon<'p, T, N, S>where
S: Unpin,
impl<'p, T, const N: usize, S> UnsafeUnpin for TessellatedPolygon<'p, T, N, S>
impl<'p, T, const N: usize, S> UnwindSafe for TessellatedPolygon<'p, T, N, S>where
T: RefUnwindSafe,
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.§impl<T> TypeData for T
impl<T> TypeData for T
§fn clone_type_data(&self) -> Box<dyn TypeData>
fn clone_type_data(&self) -> Box<dyn TypeData>
Creates a type-erased clone of this value.