[][src]Module alchemy_styles::styles

Re-exports

pub use crate::color::Color;
pub use crate::stretch::geometry::Point;
pub use crate::stretch::geometry::Rect;
pub use crate::stretch::geometry::Size;
pub use crate::stretch::number::Number;
pub use crate::stretch::result::Layout;
pub use crate::stretch::style::Style;
pub use crate::stretch::style::AlignContent;
pub use crate::stretch::style::AlignItems;
pub use crate::stretch::style::AlignSelf;
pub use crate::stretch::style::Dimension;
pub use crate::stretch::style::Direction;
pub use crate::stretch::style::Display;
pub use crate::stretch::style::FlexDirection;
pub use crate::stretch::style::JustifyContent;
pub use crate::stretch::style::Overflow;
pub use crate::stretch::style::PositionType;
pub use crate::stretch::style::FlexWrap;

Structs

Appearance

When applying layout to a backing view, you'll get two calls - one with a Layout, which contains the computed frame, and one with an Appearance, which contains things like colors, fonts, and so on.

Enums

BackfaceVisibility

Describes the backface-visibility for a view. This may be removed in a later release.

BorderStyle

Describes a border style.

FontFamily

Describes how a Font Family

FontStyle

Describes a font style.

FontWeight

Describes a font weight.

Styles

These exist purely for use in the parser code.

TextAlignment

Describes how text should be aligned.