pub struct InkAnimSequence {
pub definitions: Vec<InkWrapper<InkAnimDefinition>>,
pub name: Name,
pub targets: Vec<Target>,
}Expand description
a sequence of interpolations (interpolators and events)
Fields§
§definitions: Vec<InkWrapper<InkAnimDefinition>>describe the interpolations played
⚠️ definitions size must always match targets size
name: Name§targets: Vec<Target>describe the targets onto which the interpolations are played
⚠️ targets size must always match definitions size
Implementations§
Source§impl InkAnimSequence
impl InkAnimSequence
Sourcepub fn get_interpolators_matching(
&self,
filter: &InkAnimInterpolatorType,
) -> Vec<InkWrapper<InkAnimInterpolator>>
pub fn get_interpolators_matching( &self, filter: &InkAnimInterpolatorType, ) -> Vec<InkWrapper<InkAnimInterpolator>>
find all interpolators matching filter
Source§impl InkAnimSequence
impl InkAnimSequence
Sourcepub fn get_path_indexes_matching(&self, searched: &[usize]) -> Vec<PathSummary>
pub fn get_path_indexes_matching(&self, searched: &[usize]) -> Vec<PathSummary>
summarize all paths matching sequences of digits
Trait Implementations§
Source§impl Clone for InkAnimSequence
impl Clone for InkAnimSequence
Source§fn clone(&self) -> InkAnimSequence
fn clone(&self) -> InkAnimSequence
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InkAnimSequence
impl Debug for InkAnimSequence
Source§impl<'de> Deserialize<'de> for InkAnimSequence
impl<'de> Deserialize<'de> for InkAnimSequence
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 Freeze for InkAnimSequence
impl RefUnwindSafe for InkAnimSequence
impl Send for InkAnimSequence
impl Sync for InkAnimSequence
impl Unpin for InkAnimSequence
impl UnwindSafe for InkAnimSequence
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