[−][src]Trait kludgine::ui::LayoutSolver
Required methods
#[must_use]fn layout_within<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
bounds: &'life1 Rect<f32, Scaled>,
content_size: &'life2 Size<f32, Scaled>,
context: &'life3 mut LayoutContext
) -> Pin<Box<dyn Future<Output = KludgineResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
&'life0 self,
bounds: &'life1 Rect<f32, Scaled>,
content_size: &'life2 Size<f32, Scaled>,
context: &'life3 mut LayoutContext
) -> Pin<Box<dyn Future<Output = KludgineResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
Implementors
impl LayoutSolver for AbsoluteLayout
[src]
fn layout_within<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
bounds: &'life1 Rect<f32, Scaled>,
content_size: &'life2 Size<f32, Scaled>,
context: &'life3 mut LayoutContext
) -> Pin<Box<dyn Future<Output = KludgineResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
bounds: &'life1 Rect<f32, Scaled>,
content_size: &'life2 Size<f32, Scaled>,
context: &'life3 mut LayoutContext
) -> Pin<Box<dyn Future<Output = KludgineResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
impl LayoutSolver for NoLayout
[src]
fn layout_within<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_bounds: &'life1 Rect<f32, Scaled>,
_content_size: &'life2 Size<f32, Scaled>,
_context: &'life3 mut LayoutContext
) -> Pin<Box<dyn Future<Output = KludgineResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
_bounds: &'life1 Rect<f32, Scaled>,
_content_size: &'life2 Size<f32, Scaled>,
_context: &'life3 mut LayoutContext
) -> Pin<Box<dyn Future<Output = KludgineResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,