euv-core 0.48.2

Core cross-platform runtime for euv featuring arena-based fine-grained reactivity, deterministic layout, flat scene graph, multi-mode rendering, and direct OS platform adapters.
Documentation
/// Two-bit field mask for packed 4-variant layout enums inside `LayoutStyle::flags`.
pub(crate) const LAYOUT_FLAG_MASK_2: u32 = 0x3;

/// Three-bit field mask for packed 8-variant layout enums inside `LayoutStyle::flags`.
pub(crate) const LAYOUT_FLAG_MASK_3: u32 = 0x7;

/// Bit shift of `Display` inside `LayoutStyle::flags`.
pub(crate) const LAYOUT_DISPLAY_SHIFT: u32 = 0;

/// Bit shift of `Position` inside `LayoutStyle::flags`.
pub(crate) const LAYOUT_POSITION_SHIFT: u32 = 2;

/// Bit shift of `FlexDirection` inside `LayoutStyle::flags`.
pub(crate) const LAYOUT_FLEX_DIR_SHIFT: u32 = 4;

/// Bit shift of `FlexWrap` inside `LayoutStyle::flags`.
pub(crate) const LAYOUT_FLEX_WRAP_SHIFT: u32 = 6;

/// Bit shift of `JustifyContent` inside `LayoutStyle::flags`.
pub(crate) const LAYOUT_JUSTIFY_SHIFT: u32 = 8;

/// Bit shift of `AlignItems` inside `LayoutStyle::flags`.
pub(crate) const LAYOUT_ALIGN_ITEMS_SHIFT: u32 = 11;

/// Bit shift of `AlignSelf` inside `LayoutStyle::flags`.
pub(crate) const LAYOUT_ALIGN_SELF_SHIFT: u32 = 14;

/// Bit shift of `Overflow` inside `LayoutStyle::flags`.
pub(crate) const LAYOUT_OVERFLOW_SHIFT: u32 = 17;

/// Bit width of each packed `Length` unit tag inside `LayoutStyle::length_tags`.
pub(crate) const LENGTH_TAG_BITS: u32 = 3;

/// Three-bit mask extracting one `Length` unit tag from `LayoutStyle::length_tags`.
pub(crate) const LENGTH_TAG_MASK: u32 = 0x7;

/// Packed `Length` slot index for `flex_basis`.
pub(crate) const LENGTH_SLOT_FLEX_BASIS: usize = 0;

/// Packed `Length` slot index for `width`.
pub(crate) const LENGTH_SLOT_WIDTH: usize = 1;

/// Packed `Length` slot index for `height`.
pub(crate) const LENGTH_SLOT_HEIGHT: usize = 2;

/// Packed `Length` slot index for `min_width`.
pub(crate) const LENGTH_SLOT_MIN_WIDTH: usize = 3;

/// Packed `Length` slot index for `min_height`.
pub(crate) const LENGTH_SLOT_MIN_HEIGHT: usize = 4;

/// Packed `Length` slot index for `max_width`.
pub(crate) const LENGTH_SLOT_MAX_WIDTH: usize = 5;

/// Packed `Length` slot index for `max_height`.
pub(crate) const LENGTH_SLOT_MAX_HEIGHT: usize = 6;