Enum oil_shared::properties::PropertyName [] [src]

pub enum PropertyName {
    LEFT,
    RIGHT,
    TOP,
    BOTTOM,
    HEIGHT,
    WIDTH,
    MARGIN,
    MARGIN_LEFT,
    MARGIN_RIGHT,
    MARGIN_TOP,
    MARGIN_BOTTOM,
    PADDING,
    PADDING_LEFT,
    PADDING_RIGHT,
    PADDING_TOP,
    PADDING_BOTTOM,
    BORDER,
    BORDER_LEFT,
    BORDER_RIGHT,
    BORDER_TOP,
    BORDER_BOTTOM,
    LAYOUT_MODE,
    BACKGROUND_IMAGE_RULE,
    BACKGROUND_IMAGE,
}

List of style properties

If you do a change here, you must update STYLE_PROPERTIES

Variants

Background Possibles rules: * "fit" will scale the image with the node content size. * "repeat" won't scale the image but will repeat it

In any case, the node content bounds will be the final image bounds

This property can only have Value::Image.

Trait Implementations

impl Copy for PropertyName
[src]

impl Clone for PropertyName
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for PropertyName
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for PropertyName
[src]

impl Hash for PropertyName
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more