Enum candle_core::quantized::gguf_file::VersionedMagic
source · pub enum VersionedMagic {
GgufV1,
GgufV2,
GgufV3,
}
Variants§
Trait Implementations§
source§impl Clone for VersionedMagic
impl Clone for VersionedMagic
source§fn clone(&self) -> VersionedMagic
fn clone(&self) -> VersionedMagic
Returns a copy 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 VersionedMagic
impl Debug for VersionedMagic
source§impl PartialEq for VersionedMagic
impl PartialEq for VersionedMagic
source§fn eq(&self, other: &VersionedMagic) -> bool
fn eq(&self, other: &VersionedMagic) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VersionedMagic
impl Eq for VersionedMagic
impl StructuralPartialEq for VersionedMagic
Auto Trait Implementations§
impl Freeze for VersionedMagic
impl RefUnwindSafe for VersionedMagic
impl Send for VersionedMagic
impl Sync for VersionedMagic
impl Unpin for VersionedMagic
impl UnwindSafe for VersionedMagic
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.