pub struct SplitViewConfig {
pub layout: SplitLayout,
pub viewport_width: f32,
pub viewport_height: f32,
pub split_ratio: f32,
pub active_pane: usize,
pub maximized_pane: Option<usize>,
pub gap: f32,
}Expand description
Configuration for the split view system.
Fields§
§layout: SplitLayout§viewport_width: f32§viewport_height: f32§split_ratio: f32§active_pane: usize§maximized_pane: Option<usize>§gap: f32Auto Trait Implementations§
impl Freeze for SplitViewConfig
impl RefUnwindSafe for SplitViewConfig
impl Send for SplitViewConfig
impl Sync for SplitViewConfig
impl Unpin for SplitViewConfig
impl UnsafeUnpin for SplitViewConfig
impl UnwindSafe for SplitViewConfig
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more