pub struct BaseContext {
pub intent_index: usize,
pub current_state: Option<String>,
}Expand description
Modality-agnostic rendering context shared by all Renderer implementations.
Visual-only fields (render mode, theme templates) live in VisualContext
inside ferro-json-ui.
Fields§
§intent_index: usizeWhich intent to render (0 = primary). Index into the intents slice.
current_state: Option<String>Current workflow state name (relevant for Process/Track intents).
Trait Implementations§
Source§impl Clone for BaseContext
impl Clone for BaseContext
Source§fn clone(&self) -> BaseContext
fn clone(&self) -> BaseContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BaseContext
impl Debug for BaseContext
Source§impl Default for BaseContext
impl Default for BaseContext
Source§fn default() -> BaseContext
fn default() -> BaseContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BaseContext
impl RefUnwindSafe for BaseContext
impl Send for BaseContext
impl Sync for BaseContext
impl Unpin for BaseContext
impl UnsafeUnpin for BaseContext
impl UnwindSafe for BaseContext
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