pub struct LoraAdapter { /* private fields */ }Expand description
Loaded model-compatible LoRA adapter.
Implementations§
Source§impl LoraAdapter
impl LoraAdapter
Sourcepub const fn artifact_digest(&self) -> &Digest
pub const fn artifact_digest(&self) -> &Digest
Returns the adapter-file content identity.
Trait Implementations§
Auto Trait Implementations§
impl !Send for LoraAdapter
impl !Sync for LoraAdapter
impl Freeze for LoraAdapter
impl RefUnwindSafe for LoraAdapter
impl Unpin for LoraAdapter
impl UnsafeUnpin for LoraAdapter
impl UnwindSafe for LoraAdapter
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