pub struct Main {
pub count: usize,
pub size: Size,
pub flip: Flip,
pub rotate: Rotation,
pub split: Option<Split>,
}Expand description
Configurations concerning the main column
Fields§
§count: usizeThe default amount of windows to occupy the main column (default: 1)
size: SizeThe default size of the main column (default: 50%)
flip: FlipFlip modifier to apply only to the main columns’ contents
rotate: RotationRotation modifier to apply only to the main columns’ contents
split: Option<Split>How tiles (windows) inside the main column should be split up,
when there is more than one.
Note: This can be set to None, in which case the main column can’t
contain more than one window (eg. MainAndDeck)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Main
impl<'de> Deserialize<'de> for Main
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Main
Auto Trait Implementations§
impl Freeze for Main
impl RefUnwindSafe for Main
impl Send for Main
impl Sync for Main
impl Unpin for Main
impl UnwindSafe for Main
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