pub struct KeyframeSelector(pub Vec<KeyframePercentage>);
Expand description
A keyframes selector is a list of percentages or from/to symbols, which are converted at parse time to percentages.
Tuple Fields§
§0: Vec<KeyframePercentage>
Implementations§
Source§impl KeyframeSelector
impl KeyframeSelector
Sourcepub fn percentages(&self) -> &[KeyframePercentage]
pub fn percentages(&self) -> &[KeyframePercentage]
Return the list of percentages this selector contains.
Trait Implementations§
Source§impl Clone for KeyframeSelector
impl Clone for KeyframeSelector
Source§fn clone(&self) -> KeyframeSelector
fn clone(&self) -> KeyframeSelector
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 KeyframeSelector
impl Debug for KeyframeSelector
Source§impl PartialEq for KeyframeSelector
impl PartialEq for KeyframeSelector
Source§impl ToCss for KeyframeSelector
impl ToCss for KeyframeSelector
impl Eq for KeyframeSelector
impl StructuralPartialEq for KeyframeSelector
Auto Trait Implementations§
impl Freeze for KeyframeSelector
impl RefUnwindSafe for KeyframeSelector
impl Send for KeyframeSelector
impl Sync for KeyframeSelector
impl Unpin for KeyframeSelector
impl UnwindSafe for KeyframeSelector
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