pub struct PositionEncoding<T> { /* private fields */ }
Trait Implementations
sourceimpl<T> Default for PositionEncoding<T>
impl<T> Default for PositionEncoding<T>
sourceimpl<T> FaceDecoder for PositionEncoding<T>
impl<T> FaceDecoder for PositionEncoding<T>
type Output = Vec<(<PositionEncoding<T> as FaceDecoder>::Index, <PositionEncoding<T> as FaceDecoder>::Face), Global>
type Index = SmallVec<[usize; 4]>
type Face = ()
sourceimpl<T> FaceElementDecoder for PositionEncoding<T>
impl<T> FaceElementDecoder for PositionEncoding<T>
sourceimpl<T> FacePropertyDecoder for PositionEncoding<T>
impl<T> FacePropertyDecoder for PositionEncoding<T>
fn decode_face_properties<'a, I>(
&self,
_: &'a ElementDefinition,
elements: I
) -> Result<<Self as FaceDecoder>::Output, PlyError> where
I: IntoIterator<Item = &'a Element>,
sourceimpl<T> VertexDecoder for PositionEncoding<T>
impl<T> VertexDecoder for PositionEncoding<T>
type Output = Vec<<PositionEncoding<T> as VertexDecoder>::Vertex, Global>
type Vertex = T
sourceimpl<T> VertexElementDecoder for PositionEncoding<T>
impl<T> VertexElementDecoder for PositionEncoding<T>
sourceimpl<T, N> VertexPropertyDecoder for PositionEncoding<T> where
T: DecodePosition<N> + FiniteDimensional<N = N>,
N: NonZero + Unsigned,
impl<T, N> VertexPropertyDecoder for PositionEncoding<T> where
T: DecodePosition<N> + FiniteDimensional<N = N>,
N: NonZero + Unsigned,
fn decode_vertex_properties<'a, I>(
&self,
_: &'a ElementDefinition,
elements: I
) -> Result<<Self as VertexDecoder>::Output, PlyError> where
I: IntoIterator<Item = &'a Element>,
Auto Trait Implementations
impl<T> RefUnwindSafe for PositionEncoding<T>
impl<T> Send for PositionEncoding<T>
impl<T> Sync for PositionEncoding<T>
impl<T> Unpin for PositionEncoding<T>
impl<T> UnwindSafe for PositionEncoding<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> FromGeometry<T> for T
impl<T> FromGeometry<T> for T
fn from_geometry(other: T) -> T
sourceimpl<T, U> IntoGeometry<U> for T where
U: FromGeometry<T>,
impl<T, U> IntoGeometry<U> for T where
U: FromGeometry<T>,
fn into_geometry(self) -> U
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
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.