pub enum Configuration<T> {
Split {
axis: Axis,
ratio: f32,
a: Box<Configuration<T>>,
b: Box<Configuration<T>>,
},
Pane(T),
}Expand description
The arrangement of a PaneGrid.
Variants§
Split
A split of the available space.
Fields
§
a: Box<Configuration<T>>The left/top Configuration of the split.
§
b: Box<Configuration<T>>The right/bottom Configuration of the split.
Pane(T)
A Pane.
Trait Implementations§
Source§impl<T: Clone> Clone for Configuration<T>
impl<T: Clone> Clone for Configuration<T>
Source§fn clone(&self) -> Configuration<T>
fn clone(&self) -> Configuration<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for Configuration<T>where
T: Freeze,
impl<T> RefUnwindSafe for Configuration<T>where
T: RefUnwindSafe,
impl<T> Send for Configuration<T>where
T: Send,
impl<T> Sync for Configuration<T>where
T: Sync,
impl<T> Unpin for Configuration<T>where
T: Unpin,
impl<T> UnsafeUnpin for Configuration<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Configuration<T>where
T: UnwindSafe,
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