Trait style::values::specified::position::Side

source ·
pub trait Side {
    // Required methods
    fn start() -> Self;
    fn is_start(&self) -> bool;
}
Expand description

Represents a side, either horizontal or vertical, of a CSS position.

Required Methods§

source

fn start() -> Self

Returns the start side.

source

fn is_start(&self) -> bool

Returns whether this side is the start side.

Object Safety§

This trait is not object safe.

Implementors§