Type Alias style::properties::cascade::DeclarationIndex
source · type DeclarationIndex = u16;
Expand description
We track the index only for prioritary properties. For other properties we can just iterate.
Trait Implementations§
source§impl ComputeSquaredDistance for u16
impl ComputeSquaredDistance for u16
source§fn compute_squared_distance(&self, other: &Self) -> Result<SquaredDistance, ()>
fn compute_squared_distance(&self, other: &Self) -> Result<SquaredDistance, ()>
Computes the squared distance between two animatable values.
source§impl ToComputedValue for u16
impl ToComputedValue for u16
§type ComputedValue = u16
type ComputedValue = u16
The computed value type we’re going to be converted to.
source§fn to_computed_value(&self, _: &Context<'_>) -> Self
fn to_computed_value(&self, _: &Context<'_>) -> Self
Convert a specified value to a computed value, using itself and the data
inside the
Context
.source§fn from_computed_value(other: &Self) -> Self
fn from_computed_value(other: &Self) -> Self
Convert a computed value to specified value form. Read more
source§impl ToResolvedValue for u16
impl ToResolvedValue for u16
§type ResolvedValue = u16
type ResolvedValue = u16
The resolved value type we’re going to be converted to.
source§fn to_resolved_value(self, _: &Context<'_>) -> Self
fn to_resolved_value(self, _: &Context<'_>) -> Self
Convert a resolved value to a resolved value.
source§fn from_resolved_value(resolved: Self::ResolvedValue) -> Self
fn from_resolved_value(resolved: Self::ResolvedValue) -> Self
Convert a resolved value to resolved value form.