Trait style::values::generics::image::LineDirection [] [src]

pub trait LineDirection {
    fn points_downwards(&self, compat_mode: CompatMode) -> bool;
fn to_css<W>(&self, dest: &mut W, compat_mode: CompatMode) -> Result
    where
        W: Write
; }

The direction of a linear gradient.

Required Methods

Whether this direction points towards, and thus can be omitted.

Serialises this direction according to the compatibility mode.

Implementors