pub enum Side {
Model,
Entered,
Aside,
}Expand description
Which side of the exchange a panel is on.
This is the folio’s one organising axis, and it is declared here so nothing
else has to restate it: the stylesheet pitches a kind’s pigment warm or cool
by it, the dock steps along it, and the label a reader sees is the same
classification the code holds. A new PanelKind answers this question
before it is given a colour or a name.
Variants§
Model
What the model produced: what it said, its reasoning, the tools it reached for. Set in the warm hues.
Entered
What reached the model from outside it: what the user said, the commands they typed, the skills they wrote, the hooks that answer for them. Set in the cool hues.
Aside
Neither, deliberately. A plan boundary marks a division in the text rather than anything said in it, and a rule or a passing note is ambient: colouring every kind would leave nothing quiet, and stepping to every kind would make the dock no faster than scrolling.
Implementations§
Trait Implementations§
impl Copy for Side
impl Eq for Side
impl StructuralPartialEq for Side
Auto Trait Implementations§
impl Freeze for Side
impl RefUnwindSafe for Side
impl Send for Side
impl Sync for Side
impl Unpin for Side
impl UnsafeUnpin for Side
impl UnwindSafe for Side
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