pub struct RenderedContext {
pub fragments: Vec<ContextFragment>,
pub total_tokens: u32,
}Expand description
Output of ContextAssembler::assemble.
Fields§
§fragments: Vec<ContextFragment>§total_tokens: u32Implementations§
Trait Implementations§
Source§impl Clone for RenderedContext
impl Clone for RenderedContext
Source§fn clone(&self) -> RenderedContext
fn clone(&self) -> RenderedContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RenderedContext
impl Debug for RenderedContext
Source§impl Default for RenderedContext
impl Default for RenderedContext
Source§fn default() -> RenderedContext
fn default() -> RenderedContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RenderedContext
impl RefUnwindSafe for RenderedContext
impl Send for RenderedContext
impl Sync for RenderedContext
impl Unpin for RenderedContext
impl UnsafeUnpin for RenderedContext
impl UnwindSafe for RenderedContext
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