pub struct LlmConfig<T: Config, L: Llm<T>> {
pub model: L,
pub params: L::Parameters,
}Fields§
§model: L§params: L::ParametersTrait Implementations§
Auto Trait Implementations§
impl<T, L> Freeze for LlmConfig<T, L>
impl<T, L> RefUnwindSafe for LlmConfig<T, L>
impl<T, L> Send for LlmConfig<T, L>
impl<T, L> Sync for LlmConfig<T, L>
impl<T, L> Unpin for LlmConfig<T, L>
impl<T, L> UnwindSafe for LlmConfig<T, L>
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