[][src]Enum fbxcel_dom::v7400::data::mesh::layer::TypedLayerElementHandle

pub enum TypedLayerElementHandle<'a> {
    Color(LayerElementColorHandle<'a>),
    Material(LayerElementMaterialHandle<'a>),
    Normal(LayerElementNormalHandle<'a>),
    Uv(LayerElementUvHandle<'a>),
}

Typed layer element.

Variants

Color.

Material.

Normal.

UV.

Methods from Deref<Target = LayerElementHandle<'a>>

pub fn node(&self) -> &NodeHandle<'a>[src]

Returns a reference to the node handle.

pub fn typed_index(&self) -> Result<LayerElementIndex, Error>[src]

Returns type-local layer element index.

pub fn name(&self) -> Result<&'a str, Error>[src]

Retuns layer element name.

This conflicts with fbxcel::tree::v7400::NodeHandle::name(). If you want to get node name, do obj.node().name() instead of obj.name().

pub fn mapping_mode(&self) -> Result<MappingMode, Error>[src]

Returns mapping mode.

pub fn reference_mode(&self) -> Result<ReferenceMode, Error>[src]

Returns reference mode.

Trait Implementations

impl<'a> Clone for TypedLayerElementHandle<'a>[src]

impl<'a> Copy for TypedLayerElementHandle<'a>[src]

impl<'a> Debug for TypedLayerElementHandle<'a>[src]

impl<'a> Deref for TypedLayerElementHandle<'a>[src]

type Target = LayerElementHandle<'a>

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]