struct
Edge
pub struct Edge {
pub trigger: Anchor,
pub viewport: Anchor,
}"<trigger anchor> <viewport anchor>", e.g. "top 80%": the moment the trigger's top reaches 80% down the viewport.
Fields
Methods
parse
pub fn parse(s: &str) -> Option<Edge>Read an edge: a point on the trigger, then one on the viewport ("top 80%"; the viewport's defaults to its top).