Struct raui::prelude::DefaultLayoutEngine [−][src]
Implementations
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) -> 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]
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) -> 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]
pub fn clone(&self) -> DefaultLayoutEngine
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DefaultLayoutEngine
[src]
impl Debug for DefaultLayoutEngine
[src]
impl Default for DefaultLayoutEngine
[src]
pub fn default() -> 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 Send for DefaultLayoutEngine
impl Sync for DefaultLayoutEngine
impl Unpin for DefaultLayoutEngine
impl UnwindSafe for DefaultLayoutEngine
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,