#[repr(u32)]pub enum GgufType {
Show 13 variants
Uint8 = 0,
Int8 = 1,
Uint16 = 2,
Int16 = 3,
Uint32 = 4,
Int32 = 5,
Float32 = 6,
Bool = 7,
String = 8,
Array = 9,
Uint64 = 10,
Int64 = 11,
Float64 = 12,
}Expand description
The type of a value stored in a GGUF key-value pair.
Variants§
Uint8 = 0
8-bit unsigned integer
Int8 = 1
8-bit signed integer
Uint16 = 2
16-bit unsigned integer
Int16 = 3
16-bit signed integer
Uint32 = 4
32-bit unsigned integer
Int32 = 5
32-bit signed integer
Float32 = 6
32-bit floating point
Bool = 7
Boolean
String = 8
String
Array = 9
Array
Uint64 = 10
64-bit unsigned integer
Int64 = 11
64-bit signed integer
Float64 = 12
64-bit floating point
Implementations§
Trait Implementations§
impl Copy for GgufType
impl Eq for GgufType
impl StructuralPartialEq for GgufType
Auto Trait Implementations§
impl Freeze for GgufType
impl RefUnwindSafe for GgufType
impl Send for GgufType
impl Sync for GgufType
impl Unpin for GgufType
impl UnsafeUnpin for GgufType
impl UnwindSafe for GgufType
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