pub struct Channel<'a> {
pub sampler: Idx<AnimationSampler<'static>>,
pub target: ChannelTarget<'a>,
pub extensions: Option<Extensions<'a>>,
pub extras: Option<Extras<'a>>,
}Expand description
An animation channel combines an animation sampler with a target property being animated.
Fields§
§sampler: Idx<AnimationSampler<'static>>The index of a sampler in an animation used to compute the value for the target.
target: ChannelTarget<'a>The descriptor of the animated property.
extensions: Option<Extensions<'a>>§extras: Option<Extras<'a>>Implementations§
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Channel<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Channel<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for Channel<'a>
impl<'a> RefUnwindSafe for Channel<'a>
impl<'a> Send for Channel<'a>
impl<'a> Sync for Channel<'a>
impl<'a> Unpin for Channel<'a>
impl<'a> UnsafeUnpin for Channel<'a>
impl<'a> UnwindSafe for Channel<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more