pub struct ConvertResult {
pub safetensors_path: PathBuf,
pub model_yaml_path: PathBuf,
pub source_file: PathBuf,
pub source_sha256: String,
pub tensor_count: usize,
pub total_tensor_bytes: usize,
}Fields§
§safetensors_path: PathBuf§model_yaml_path: PathBuf§source_file: PathBuf§source_sha256: String§tensor_count: usize§total_tensor_bytes: usizeTrait Implementations§
Source§impl Clone for ConvertResult
impl Clone for ConvertResult
Source§fn clone(&self) -> ConvertResult
fn clone(&self) -> ConvertResult
Returns a duplicate 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 ConvertResult
impl Debug for ConvertResult
Auto Trait Implementations§
impl Freeze for ConvertResult
impl RefUnwindSafe for ConvertResult
impl Send for ConvertResult
impl Sync for ConvertResult
impl Unpin for ConvertResult
impl UnsafeUnpin for ConvertResult
impl UnwindSafe for ConvertResult
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