Type Definition style::values::specified::effects::BoxShadow
[−]
[src]
type BoxShadow = GenericBoxShadow<Option<RGBAColor>, Length, Option<NonNegativeLength>, Option<Length>>;
A specified value for a single shadow of the box-shadow
property.
Trait Implementations
impl Parse for BoxShadow
[src]
fn parse<'i, 't>(
context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<Self, ParseError<'i>>
[src]
context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<Self, ParseError<'i>>
Parse a value of this type. Read more
impl ToComputedValue for BoxShadow
[src]
type ComputedValue = ComputedBoxShadow
The computed value type we're going to be converted to.
fn to_computed_value(&self, context: &Context) -> Self::ComputedValue
[src]
Convert a specified value to a computed value, using itself and the data inside the Context
. Read more
fn from_computed_value(computed: &ComputedBoxShadow) -> Self
[src]
Convert a computed value to specified value form. Read more