pub struct ArtifactTensorEncoding {
pub name: String,
pub ggml_type_code: Option<u32>,
}Expand description
One tensor storage encoding observed in artifact headers.
Fields§
§name: StringStable textual representation.
ggml_type_code: Option<u32>GGML type code for GGUF encodings.
Trait Implementations§
Source§impl Clone for ArtifactTensorEncoding
impl Clone for ArtifactTensorEncoding
Source§fn clone(&self) -> ArtifactTensorEncoding
fn clone(&self) -> ArtifactTensorEncoding
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 moreSource§impl Debug for ArtifactTensorEncoding
impl Debug for ArtifactTensorEncoding
Source§impl<'de> Deserialize<'de> for ArtifactTensorEncoding
impl<'de> Deserialize<'de> for ArtifactTensorEncoding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ArtifactTensorEncoding
Source§impl Ord for ArtifactTensorEncoding
impl Ord for ArtifactTensorEncoding
Source§fn cmp(&self, other: &ArtifactTensorEncoding) -> Ordering
fn cmp(&self, other: &ArtifactTensorEncoding) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ArtifactTensorEncoding
impl PartialEq for ArtifactTensorEncoding
Source§impl PartialOrd for ArtifactTensorEncoding
impl PartialOrd for ArtifactTensorEncoding
Source§impl Serialize for ArtifactTensorEncoding
impl Serialize for ArtifactTensorEncoding
impl StructuralPartialEq for ArtifactTensorEncoding
Auto Trait Implementations§
impl Freeze for ArtifactTensorEncoding
impl RefUnwindSafe for ArtifactTensorEncoding
impl Send for ArtifactTensorEncoding
impl Sync for ArtifactTensorEncoding
impl Unpin for ArtifactTensorEncoding
impl UnsafeUnpin for ArtifactTensorEncoding
impl UnwindSafe for ArtifactTensorEncoding
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