pub struct PaneConfig {Show 20 fields
pub pane_divider_width: Option<f32>,
pub pane_divider_hit_width: f32,
pub pane_padding: f32,
pub pane_min_size: usize,
pub pane_background_opacity: f32,
pub pane_divider_color: [u8; 3],
pub pane_divider_hover_color: [u8; 3],
pub dim_inactive_panes: bool,
pub inactive_pane_opacity: f32,
pub show_pane_titles: bool,
pub pane_title_height: f32,
pub pane_title_position: PaneTitlePosition,
pub pane_title_color: [u8; 3],
pub pane_title_bg_color: [u8; 3],
pub pane_title_font: String,
pub pane_divider_style: DividerStyle,
pub max_panes: usize,
pub pane_focus_indicator: bool,
pub pane_focus_color: [u8; 3],
pub pane_focus_width: f32,
}Expand description
Split-pane divider, padding, title-bar and focus-indicator settings.
Fields§
§pane_divider_width: Option<f32>Width of dividers between panes in pixels (visual width)
pane_divider_hit_width: f32Width of the drag hit area for resizing panes (should be >= divider width) A larger hit area makes it easier to grab the divider for resizing
pane_padding: f32Padding inside panes in pixels (space between content and border/divider)
pane_min_size: usizeMinimum pane size in cells (columns for horizontal splits, rows for vertical) Prevents panes from being resized too small to be useful
pane_background_opacity: f32Pane background opacity (0.0 = fully transparent, 1.0 = fully opaque) Lower values allow background image/shader to show through pane backgrounds
pane_divider_color: [u8; 3]Pane divider color [R, G, B] (0-255)
pane_divider_hover_color: [u8; 3]Pane divider hover color [R, G, B] (0-255) - shown when mouse hovers over divider
dim_inactive_panes: boolEnable visual dimming of inactive panes
inactive_pane_opacity: f32Opacity level for inactive panes (0.0-1.0)
show_pane_titles: boolShow title bar on each pane
pane_title_height: f32Height of pane title bars in pixels
pane_title_position: PaneTitlePositionPosition of pane title bars (top or bottom)
pane_title_color: [u8; 3]Pane title text color [R, G, B] (0-255)
pane_title_bg_color: [u8; 3]Pane title background color [R, G, B] (0-255)
pane_title_font: StringPane title font family (empty string = use terminal font)
pane_divider_style: DividerStyleStyle of dividers between panes (solid, double, dashed, shadow)
max_panes: usizeMaximum panes per tab (0 = unlimited)
pane_focus_indicator: boolShow visual indicator (border) around focused pane
pane_focus_color: [u8; 3]Color of the focused pane indicator [R, G, B] (0-255)
pane_focus_width: f32Width of the focused pane indicator border in pixels
Trait Implementations§
Source§impl Clone for PaneConfig
impl Clone for PaneConfig
Source§fn clone(&self) -> PaneConfig
fn clone(&self) -> PaneConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PaneConfig
impl Debug for PaneConfig
Source§impl Default for PaneConfig
impl Default for PaneConfig
Source§fn default() -> PaneConfig
fn default() -> PaneConfig
Source§impl<'de> Deserialize<'de> for PaneConfig
impl<'de> Deserialize<'de> for PaneConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PaneConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PaneConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for PaneConfig
impl Serialize for PaneConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for PaneConfig
impl RefUnwindSafe for PaneConfig
impl Send for PaneConfig
impl Sync for PaneConfig
impl Unpin for PaneConfig
impl UnsafeUnpin for PaneConfig
impl UnwindSafe for PaneConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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 moreSource§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
Source§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian().