pub struct DeterministicContextProjector;Trait Implementations§
Source§impl Clone for DeterministicContextProjector
impl Clone for DeterministicContextProjector
Source§fn clone(&self) -> DeterministicContextProjector
fn clone(&self) -> DeterministicContextProjector
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 ContextProjector for DeterministicContextProjector
impl ContextProjector for DeterministicContextProjector
fn project( &self, messages: &[ChatMessage], max_tokens: usize, ) -> ContextProjection
impl Copy for DeterministicContextProjector
Source§impl Default for DeterministicContextProjector
impl Default for DeterministicContextProjector
Source§fn default() -> DeterministicContextProjector
fn default() -> DeterministicContextProjector
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeterministicContextProjector
impl RefUnwindSafe for DeterministicContextProjector
impl Send for DeterministicContextProjector
impl Sync for DeterministicContextProjector
impl Unpin for DeterministicContextProjector
impl UnsafeUnpin for DeterministicContextProjector
impl UnwindSafe for DeterministicContextProjector
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