pub struct LayoutInput {Show 16 fields
pub prompt_height: u16,
pub tasks_height: u16,
pub catalog_height: u16,
pub todo_height: u16,
pub queue_height: u16,
pub btw_height: u16,
pub turn_status_height: u16,
pub banner_height: u16,
pub cta_height: u16,
pub follow_ups_height: u16,
pub startup_warning_height: u16,
pub prompt_gap: u16,
pub voice_recording_height: u16,
pub shortcuts_height: u16,
pub timeline_width: u16,
pub compact: bool,
}Expand description
Inputs to AgentViewLayout::compute, bundled so the call site names
each field — preventing accidental transposition of the many u16
height parameters.
Fields§
§prompt_height: u16Prompt widget height (rows).
tasks_height: u16Background tasks pane height (0 = hidden).
catalog_height: u16Catalog pane height (0 = hidden).
todo_height: u16Todo pane height (0 = hidden).
queue_height: u16Queue pane height (0 = hidden).
btw_height: u16BTW side-question panel height (0 = hidden).
turn_status_height: u16Turn status height (0 = hidden).
Banner height (0 = hidden).
cta_height: u16Plugin CTA height (0 = hidden).
follow_ups_height: u16Follow-up chips height (0 = hidden).
startup_warning_height: u16Startup warning height (0 = hidden).
prompt_gap: u16Gap row between turn-status/scrollback and the prompt (0 or 1).
voice_recording_height: u16Voice recording indicator height (0 = hidden).
shortcuts_height: u16Shortcuts bar height (always ≥ 1).
timeline_width: u16Timeline rail width (0 = hidden; requires scrollbar enabled).
compact: boolCompact mode flag (affects padding).
Trait Implementations§
Source§impl Clone for LayoutInput
impl Clone for LayoutInput
Source§fn clone(&self) -> LayoutInput
fn clone(&self) -> LayoutInput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for LayoutInput
Source§impl Debug for LayoutInput
impl Debug for LayoutInput
Source§impl Default for LayoutInput
impl Default for LayoutInput
Source§fn default() -> LayoutInput
fn default() -> LayoutInput
Auto Trait Implementations§
impl Freeze for LayoutInput
impl RefUnwindSafe for LayoutInput
impl Send for LayoutInput
impl Sync for LayoutInput
impl Unpin for LayoutInput
impl UnsafeUnpin for LayoutInput
impl UnwindSafe for LayoutInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more