Struct oxygengine_user_interface::raui::core::prelude::DefaultLayoutEngine [−][src]
pub struct DefaultLayoutEngine;
Implementations
impl DefaultLayoutEngine[src]
impl DefaultLayoutEngine[src]pub fn layout_node(
size_available: Vec2,
unit: &WidgetUnit
) -> Option<LayoutNode>[src]
size_available: Vec2,
unit: &WidgetUnit
) -> Option<LayoutNode>
pub fn layout_area_box(
size_available: Vec2,
unit: &AreaBox
) -> Option<LayoutNode>[src]
size_available: Vec2,
unit: &AreaBox
) -> Option<LayoutNode>
pub fn layout_content_box(
size_available: Vec2,
unit: &ContentBox
) -> Option<LayoutNode>[src]
size_available: Vec2,
unit: &ContentBox
) -> Option<LayoutNode>
pub fn layout_flex_box(
size_available: Vec2,
unit: &FlexBox
) -> Option<LayoutNode>[src]
size_available: Vec2,
unit: &FlexBox
) -> Option<LayoutNode>
pub fn layout_flex_box_wrapping(
size_available: Vec2,
unit: &FlexBox
) -> LayoutNode[src]
size_available: Vec2,
unit: &FlexBox
) -> LayoutNode
pub fn layout_flex_box_no_wrap(
size_available: Vec2,
unit: &FlexBox
) -> LayoutNode[src]
size_available: Vec2,
unit: &FlexBox
) -> LayoutNode
pub fn layout_grid_box(
size_available: Vec2,
unit: &GridBox
) -> Option<LayoutNode>[src]
size_available: Vec2,
unit: &GridBox
) -> Option<LayoutNode>
pub fn layout_size_box(
size_available: Vec2,
unit: &SizeBox
) -> Option<LayoutNode>[src]
size_available: Vec2,
unit: &SizeBox
) -> Option<LayoutNode>
pub fn layout_image_box(
size_available: Vec2,
unit: &ImageBox
) -> Option<LayoutNode>[src]
size_available: Vec2,
unit: &ImageBox
) -> Option<LayoutNode>
pub fn layout_text_box(
size_available: Vec2,
unit: &TextBox
) -> Option<LayoutNode>[src]
size_available: Vec2,
unit: &TextBox
) -> Option<LayoutNode>
Trait Implementations
impl Clone for DefaultLayoutEngine[src]
impl Clone for DefaultLayoutEngine[src]pub fn clone(&self) -> DefaultLayoutEngine[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for DefaultLayoutEngine[src]
impl Copy for DefaultLayoutEngine[src]impl Debug for DefaultLayoutEngine[src]
impl Debug for DefaultLayoutEngine[src]impl Default for DefaultLayoutEngine[src]
impl Default for DefaultLayoutEngine[src]pub fn default() -> DefaultLayoutEngine[src]
impl LayoutEngine<()> for DefaultLayoutEngine[src]
impl LayoutEngine<()> for DefaultLayoutEngine[src]pub fn layout(
&mut self,
mapping: &CoordsMapping,
tree: &WidgetUnit
) -> Result<Layout, ()>[src]
&mut self,
mapping: &CoordsMapping,
tree: &WidgetUnit
) -> Result<Layout, ()>
Auto Trait Implementations
impl RefUnwindSafe for DefaultLayoutEngine
impl RefUnwindSafe for DefaultLayoutEngineimpl Send for DefaultLayoutEngine
impl Send for DefaultLayoutEngineimpl Sync for DefaultLayoutEngine
impl Sync for DefaultLayoutEngineimpl Unpin for DefaultLayoutEngine
impl Unpin for DefaultLayoutEngineimpl UnwindSafe for DefaultLayoutEngine
impl UnwindSafe for DefaultLayoutEngineBlanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any, pub fn get_type_id(&self) -> TypeId
impl<T> TryDefault for T where
T: Default,
impl<T> TryDefault for T where
T: Default,