pub struct BoundStrategy { /* private fields */ }Expand description
A strategy with panels bound, ready to produce a layout or runtime.
Implementations§
Source§impl BoundStrategy
impl BoundStrategy
Sourcepub fn build(self) -> Result<Layout, PaneError>
pub fn build(self) -> Result<Layout, PaneError>
Produce a static Layout from this bound strategy.
Sourcepub fn into_runtime(self) -> Result<LayoutRuntime, PaneError>
pub fn into_runtime(self) -> Result<LayoutRuntime, PaneError>
Produce a LayoutRuntime from this bound strategy.
Auto Trait Implementations§
impl Freeze for BoundStrategy
impl RefUnwindSafe for BoundStrategy
impl !Send for BoundStrategy
impl !Sync for BoundStrategy
impl Unpin for BoundStrategy
impl UnsafeUnpin for BoundStrategy
impl UnwindSafe for BoundStrategy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more