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
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
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
BACKGROUND_IMAGE
This property can only have Value::Image.
Trait Implementations
impl Copy for PropertyName
[src]
impl Clone for PropertyName
[src]
fn clone(&self) -> PropertyName
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for PropertyName
[src]
fn eq(&self, __arg_0: &PropertyName) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.