pub struct TuiOptions {Show 13 fields
pub theme: InlineTheme,
pub placeholder: Option<String>,
pub surface_preference: UiSurfacePreference,
pub inline_rows: u16,
pub show_logs: bool,
pub log_theme: Option<String>,
pub event_callback: Option<InlineEventCallback>,
pub active_pty_sessions: Option<Arc<AtomicUsize>>,
pub keyboard_protocol: KeyboardProtocolConfig,
pub workspace_root: Option<PathBuf>,
pub slash_commands: Vec<SlashCommandItem>,
pub appearance: Option<AppearanceConfig>,
pub app_name: String,
}Fields§
§theme: InlineTheme§placeholder: Option<String>§surface_preference: UiSurfacePreference§inline_rows: u16§show_logs: bool§log_theme: Option<String>§event_callback: Option<InlineEventCallback>§active_pty_sessions: Option<Arc<AtomicUsize>>§keyboard_protocol: KeyboardProtocolConfig§workspace_root: Option<PathBuf>§slash_commands: Vec<SlashCommandItem>§appearance: Option<AppearanceConfig>§app_name: StringAuto Trait Implementations§
impl Freeze for TuiOptions
impl !RefUnwindSafe for TuiOptions
impl Send for TuiOptions
impl Sync for TuiOptions
impl Unpin for TuiOptions
impl UnsafeUnpin for TuiOptions
impl !UnwindSafe for TuiOptions
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> 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>
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