pub enum HostSizeField {
StringLen,
KvCount,
TensorCount,
TensorRank,
TensorDim,
RelativeOffset,
Alignment,
ArrayLen,
}Expand description
File-declared field that failed u64 -> usize conversion.
Variants§
StringLen
Length prefix of a GGUF string (KV key, string value, or tensor name).
KvCount
Header kv_count.
TensorCount
Header tensor_count.
TensorRank
Tensor directory n_dims.
TensorDim
One tensor dimension.
RelativeOffset
Tensor relative_offset in the data region.
Alignment
general.alignment layout field.
ArrayLen
GGUF array element count.
Implementations§
Trait Implementations§
Source§impl Clone for HostSizeField
impl Clone for HostSizeField
impl Copy for HostSizeField
Source§impl Debug for HostSizeField
impl Debug for HostSizeField
Source§impl Display for HostSizeField
impl Display for HostSizeField
impl Eq for HostSizeField
Source§impl Hash for HostSizeField
impl Hash for HostSizeField
Source§impl PartialEq for HostSizeField
impl PartialEq for HostSizeField
impl StructuralPartialEq for HostSizeField
Auto Trait Implementations§
impl Forget for HostSizeField
impl Freeze for HostSizeField
impl Move for HostSizeField
impl RefUnwindSafe for HostSizeField
impl Send for HostSizeField
impl Sync for HostSizeField
impl Unpin for HostSizeField
impl UnsafeUnpin for HostSizeField
impl UnwindSafe for HostSizeField
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