#[repr(u32)]pub enum GGufFileType {
Show 36 variants
AllF32 = 0,
MostlyF16 = 1,
MostlyQ4_0 = 2,
MostlyQ4_1 = 3,
MostlyQ4_1SomeF16 = 4,
MostlyQ4_2 = 5,
MostlyQ4_3 = 6,
MostlyQ8_0 = 7,
MostlyQ5_0 = 8,
MostlyQ51 = 9,
MostlyQ2K = 10,
MostlyQ3KS = 11,
MostlyQ3KM = 12,
MostlyQ3KL = 13,
MostlyQ4KS = 14,
MostlyQ4KM = 15,
MostlyQ5KS = 16,
MostlyQ5KM = 17,
MostlyQ6K = 18,
MostlyIQ2XXS = 19,
MostlyIQ2XS = 20,
MostlyQ2KS = 21,
MostlyIQ3XS = 22,
MostlyIQ3XXS = 23,
MostlyIQ1S = 24,
MostlyIQ4NL = 25,
MostlyIQ3S = 26,
MostlyIQ3M = 27,
MostlyIQ2S = 28,
MostlyIQ2M = 29,
MostlyIQ4XS = 30,
MostlyIQ1M = 31,
MostlyBF16 = 32,
MostlyQ4_0_4_4 = 33,
MostlyQ4_0_4_8 = 34,
MostlyQ4_0_8_8 = 35,
}
Variantsยง
AllF32 = 0
MostlyF16 = 1
MostlyQ4_0 = 2
MostlyQ4_1 = 3
MostlyQ4_1SomeF16 = 4
MostlyQ4_2 = 5
๐Deprecated: support removed
MostlyQ4_3 = 6
๐Deprecated: support removed
MostlyQ8_0 = 7
MostlyQ5_0 = 8
MostlyQ51 = 9
MostlyQ2K = 10
MostlyQ3KS = 11
MostlyQ3KM = 12
MostlyQ3KL = 13
MostlyQ4KS = 14
MostlyQ4KM = 15
MostlyQ5KS = 16
MostlyQ5KM = 17
MostlyQ6K = 18
MostlyIQ2XXS = 19
MostlyIQ2XS = 20
MostlyQ2KS = 21
MostlyIQ3XS = 22
MostlyIQ3XXS = 23
MostlyIQ1S = 24
MostlyIQ4NL = 25
MostlyIQ3S = 26
MostlyIQ3M = 27
MostlyIQ2S = 28
MostlyIQ2M = 29
MostlyIQ4XS = 30
MostlyIQ1M = 31
MostlyBF16 = 32
MostlyQ4_0_4_4 = 33
MostlyQ4_0_4_8 = 34
MostlyQ4_0_8_8 = 35
Trait Implementationsยง
Sourceยงimpl Clone for GGufFileType
impl Clone for GGufFileType
Sourceยงfn clone(&self) -> GGufFileType
fn clone(&self) -> GGufFileType
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 GGufFileType
impl Debug for GGufFileType
Sourceยงimpl Hash for GGufFileType
impl Hash for GGufFileType
Sourceยงimpl PartialEq for GGufFileType
impl PartialEq for GGufFileType
Sourceยงimpl TryFrom<u32> for GGufFileType
impl TryFrom<u32> for GGufFileType
Sourceยงtype Error = TryFromPrimitiveError<GGufFileType>
type Error = TryFromPrimitiveError<GGufFileType>
The type returned in the event of a conversion error.
Sourceยงimpl TryFromPrimitive for GGufFileType
impl TryFromPrimitive for GGufFileType
const NAME: &'static str = "GGufFileType"
type Primitive = u32
type Error = TryFromPrimitiveError<GGufFileType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for GGufFileType
impl Eq for GGufFileType
impl StructuralPartialEq for GGufFileType
Auto Trait Implementationsยง
impl Freeze for GGufFileType
impl RefUnwindSafe for GGufFileType
impl Send for GGufFileType
impl Sync for GGufFileType
impl Unpin for GGufFileType
impl UnwindSafe for GGufFileType
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more