pub enum GGUFMetaValue {
}Expand description
A typed metadata value for a GGUF key-value pair.
Variants§
Uint8(u8)
Int8(i8)
Uint16(u16)
Int16(i16)
Uint32(u32)
Int32(i32)
Float32(f32)
Bool(bool)
String(String)
Uint64(u64)
Int64(i64)
Float64(f64)
ArrayUint32(Vec<u32>)
ArrayFloat32(Vec<f32>)
ArrayString(Vec<String>)
Implementations§
Source§impl GGUFMetaValue
impl GGUFMetaValue
pub fn value_type(&self) -> GGUFValueType
Trait Implementations§
Source§impl Clone for GGUFMetaValue
impl Clone for GGUFMetaValue
Source§fn clone(&self) -> GGUFMetaValue
fn clone(&self) -> GGUFMetaValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GGUFMetaValue
impl RefUnwindSafe for GGUFMetaValue
impl Send for GGUFMetaValue
impl Sync for GGUFMetaValue
impl Unpin for GGUFMetaValue
impl UnsafeUnpin for GGUFMetaValue
impl UnwindSafe for GGUFMetaValue
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