[][src]Struct splashsurf_lib::mesh::MeshWithPointData

pub struct MeshWithPointData<MeshT, DataT> {
    pub mesh: MeshT,
    pub data: Vec<DataT>,
}

A mesh with attached vertex or point data

Fields

mesh: MeshT

The mesh geometry itself

data: Vec<DataT>

Data attached to each vertex or point of the mesh

Implementations

impl<'a, MeshT: 'a, DataT> MeshWithPointData<MeshT, DataT> where
    DataSet: From<&'a MeshT>,
    DataT: Real
[src]

pub fn to_dataset(&'a self) -> DataSet[src]

Trait Implementations

impl<MeshT: Clone, DataT: Clone> Clone for MeshWithPointData<MeshT, DataT>[src]

impl<MeshT: Debug, DataT: Debug> Debug for MeshWithPointData<MeshT, DataT>[src]

Auto Trait Implementations

impl<MeshT, DataT> RefUnwindSafe for MeshWithPointData<MeshT, DataT> where
    DataT: RefUnwindSafe,
    MeshT: RefUnwindSafe

impl<MeshT, DataT> Send for MeshWithPointData<MeshT, DataT> where
    DataT: Send,
    MeshT: Send

impl<MeshT, DataT> Sync for MeshWithPointData<MeshT, DataT> where
    DataT: Sync,
    MeshT: Sync

impl<MeshT, DataT> Unpin for MeshWithPointData<MeshT, DataT> where
    DataT: Unpin,
    MeshT: Unpin

impl<MeshT, DataT> UnwindSafe for MeshWithPointData<MeshT, DataT> where
    DataT: UnwindSafe,
    MeshT: 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> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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 = 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,