pub struct ShardName {
pub base: String,
pub index: usize,
pub total: usize,
}Expand description
The parts of a sharded GGUF filename.
Fields§
§base: StringThe base name shared by every shard in the set.
index: usizeThis shard’s 1-based index.
total: usizeThe total number of shards declared in the name.
Trait Implementations§
impl Eq for ShardName
impl StructuralPartialEq for ShardName
Auto Trait Implementations§
impl Freeze for ShardName
impl RefUnwindSafe for ShardName
impl Send for ShardName
impl Sync for ShardName
impl Unpin for ShardName
impl UnsafeUnpin for ShardName
impl UnwindSafe for ShardName
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