Skip to main content

Module properties

Module properties 

Source
Expand description

Property extraction utilities

Extracts layout-relevant properties from PropertyList into TraitSet.

Re-exports§

pub use break_keep::extract_break_after;
pub use break_keep::extract_break_before;
pub use break_keep::extract_keep_constraint;
pub use break_keep::extract_orphans;
pub use break_keep::extract_widows;
pub use extraction::extract_traits;
pub use extraction::measure_text_width;
pub use misc::extract_border_radius;
pub use misc::extract_clear;
pub use misc::extract_column_count;
pub use misc::extract_column_gap;
pub use misc::extract_opacity;
pub use misc::extract_overflow;
pub use misc::OverflowBehavior;
pub use spacing::extract_end_indent;
pub use spacing::extract_letter_spacing;
pub use spacing::extract_line_height;
pub use spacing::extract_space_after;
pub use spacing::extract_space_before;
pub use spacing::extract_start_indent;
pub use spacing::extract_text_indent;
pub use spacing::extract_word_spacing;
pub use types::BreakValue;
pub use types::Keep;
pub use types::KeepConstraint;

Modules§

break_keep
Break and keep property extraction
extraction
Core trait extraction: extract_traits, font size resolution, text measurement
misc
Miscellaneous property extraction: overflow, border-radius, column layout, opacity, clear
spacing
Spacing and indent property extraction
types
Core property types: Keep, KeepConstraint, BreakValue, OverflowBehavior