[][src]Struct raui::prelude::default_layout_engine::DefaultLayoutEngine

pub struct DefaultLayoutEngine;

Implementations

impl DefaultLayoutEngine[src]

pub fn layout_node(
    size_available: Vec2,
    unit: &WidgetUnit
) -> Option<LayoutNode>
[src]

pub fn layout_content_box(size_available: Vec2, unit: &ContentBox) -> LayoutNode[src]

pub fn layout_flex_box(size_available: Vec2, unit: &FlexBox) -> LayoutNode[src]

pub fn layout_flex_box_wrapping(
    size_available: Vec2,
    unit: &FlexBox
) -> LayoutNode
[src]

pub fn layout_flex_box_no_wrap(
    size_available: Vec2,
    unit: &FlexBox
) -> LayoutNode
[src]

pub fn layout_grid_box(
    size_available: Vec2,
    unit: &GridBox
) -> Option<LayoutNode>
[src]

pub fn layout_size_box(size_available: Vec2, unit: &SizeBox) -> LayoutNode[src]

pub fn layout_image_box(size_available: Vec2, unit: &ImageBox) -> LayoutNode[src]

pub fn layout_text_box(size_available: Vec2, unit: &TextBox) -> LayoutNode[src]

Trait Implementations

impl Clone for DefaultLayoutEngine[src]

impl Copy for DefaultLayoutEngine[src]

impl Debug for DefaultLayoutEngine[src]

impl Default for DefaultLayoutEngine[src]

impl LayoutEngine<()> for DefaultLayoutEngine[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.