pub struct Deck { /* private fields */ }Expand description
Builder for the deck preset layout.
Implementations§
Source§impl Deck
impl Deck
Sourcepub fn master_ratio(self, ratio: f32) -> Self
pub fn master_ratio(self, ratio: f32) -> Self
Set the master panel’s share of the viewport.
Source§impl Deck
impl Deck
Sourcepub fn into_runtime(self) -> Result<LayoutRuntime, PaneError>
pub fn into_runtime(self) -> Result<LayoutRuntime, PaneError>
Consume the builder and produce a crate::runtime::LayoutRuntime.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Deck
impl RefUnwindSafe for Deck
impl Send for Deck
impl Sync for Deck
impl Unpin for Deck
impl UnsafeUnpin for Deck
impl UnwindSafe for Deck
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