Struct vtkio::xml::AttributeInfo[][src]

pub struct AttributeInfo {
    pub scalars: Option<String>,
    pub vectors: Option<String>,
    pub normals: Option<String>,
    pub tensors: Option<String>,
    pub tcoords: Option<String>,
}

Fields

scalars: Option<String>vectors: Option<String>normals: Option<String>tensors: Option<String>tcoords: Option<String>

Implementations

impl AttributeInfo[src]

pub fn element_type(&self, name: &str, num_comp: u32) -> ElementType[src]

Determine an appropriate model::ElementType for the given attribute name and number of components.

Trait Implementations

impl Clone for AttributeInfo[src]

impl Debug for AttributeInfo[src]

impl Default for AttributeInfo[src]

impl<'de> Deserialize<'de> for AttributeInfo[src]

impl PartialEq<AttributeInfo> for AttributeInfo[src]

impl Serialize for AttributeInfo[src]

impl StructuralPartialEq for AttributeInfo[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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.