TimelineName

Type Alias TimelineName 

Source
pub type TimelineName = TreeScoped<TimelineIdent>;
Expand description

The typedef of scroll-timeline-name or view-timeline-name.

https://drafts.csswg.org/scroll-animations-1/#scroll-timeline-name https://drafts.csswg.org/scroll-animations-1/#view-timeline-name

Aliased Type§

#[repr(C)]
pub struct TimelineName { pub value: TimelineIdent, pub scope: CascadeLevel, }

Fields§

§value: TimelineIdent

The scoped value.

§scope: CascadeLevel

The cascade level in the shadow tree hierarchy.

Implementations§

Source§

impl TimelineName

Source

pub fn none() -> Self

Return the none value.

Trait Implementations§

Source§

impl ToTyped for TimelineName

Source§

fn to_typed(&self, _dest: &mut ThinVec<TypedValue>) -> Result<(), ()>

Attempt to convert self into one or more TypedValue items. Read more
Source§

fn to_typed_value(&self) -> Option<TypedValue>

Attempt to convert self into a TypedValue. Read more
Source§

fn to_typed_value_list(&self) -> Option<TypedValueList>

Attempt to convert self into a TypedValueList. Read more