[][src]Struct gltf::animation::Channel

pub struct Channel<'a> { /* fields omitted */ }

Targets an animation's sampler at a node's property.

Methods

impl<'a> Channel<'a>[src]

pub fn animation(&self) -> Animation<'a>[src]

Returns the parent Animation struct.

pub fn sampler(&self) -> Sampler<'a>[src]

Returns the sampler in this animation used to compute the value for the target.

pub fn target(&self) -> Target<'a>[src]

Returns the node and property to target.

pub fn reader<'s, F>(&self, get_buffer_data: F) -> Reader<'a, 's, F> where
    F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, 
[src]

Constructs an animation channel reader.

pub fn extras(&self) -> &Extras[src]

Optional application specific data.

Trait Implementations

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

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

Auto Trait Implementations

impl<'a> Send for Channel<'a>

impl<'a> Unpin for Channel<'a>

impl<'a> Sync for Channel<'a>

impl<'a> UnwindSafe for Channel<'a>

impl<'a> RefUnwindSafe for Channel<'a>

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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