Enum dotavious::attributes::ImagePosition[][src]

pub enum ImagePosition {
    TopLeft,
    TopCentered,
    TopRight,
    MiddleLeft,
    MiddleCentered,
    MiddleRight,
    BottomLeft,
    BottomCentered,
    BottomRight,
}
Expand description

Controls how an image is positioned within its containing node. Only has an effect when the image is smaller than the containing node.

The default is to be centered both horizontally and vertically.

Variants

TopLeft
TopCentered
TopRight
MiddleLeft
MiddleCentered
MiddleRight
BottomLeft
BottomCentered
BottomRight

Trait Implementations

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.