#[repr(transparent)]pub struct RowShapeFingerprint(pub Hash64);Expand description
A fingerprint that uniquely identifies a shape layout.
This is an 8-byte hash stored in the header of every encoded row, allowing the shape to be identified without external metadata.
Tuple Fields§
§0: Hash64Implementations§
Source§impl RowShapeFingerprint
impl RowShapeFingerprint
Sourcepub const fn to_le_bytes(&self) -> [u8; 8]
pub const fn to_le_bytes(&self) -> [u8; 8]
Convert to little-endian bytes.
Sourcepub const fn from_le_bytes(bytes: [u8; 8]) -> Self
pub const fn from_le_bytes(bytes: [u8; 8]) -> Self
Create from little-endian bytes.
Trait Implementations§
Source§impl Clone for RowShapeFingerprint
impl Clone for RowShapeFingerprint
Source§fn clone(&self) -> RowShapeFingerprint
fn clone(&self) -> RowShapeFingerprint
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 RowShapeFingerprint
impl Debug for RowShapeFingerprint
Source§impl Deref for RowShapeFingerprint
impl Deref for RowShapeFingerprint
Source§impl<'de> Deserialize<'de> for RowShapeFingerprint
impl<'de> Deserialize<'de> for RowShapeFingerprint
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
Source§impl From<Hash64> for RowShapeFingerprint
impl From<Hash64> for RowShapeFingerprint
Source§impl From<RowShapeFingerprint> for Hash64
impl From<RowShapeFingerprint> for Hash64
Source§fn from(fp: RowShapeFingerprint) -> Self
fn from(fp: RowShapeFingerprint) -> Self
Converts to this type from the input type.
Source§impl From<u64> for RowShapeFingerprint
impl From<u64> for RowShapeFingerprint
Source§impl Hash for RowShapeFingerprint
impl Hash for RowShapeFingerprint
Source§impl Ord for RowShapeFingerprint
impl Ord for RowShapeFingerprint
Source§fn cmp(&self, other: &RowShapeFingerprint) -> Ordering
fn cmp(&self, other: &RowShapeFingerprint) -> Ordering
1.21.0 · 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
Source§impl PartialEq for RowShapeFingerprint
impl PartialEq for RowShapeFingerprint
Source§impl PartialOrd for RowShapeFingerprint
impl PartialOrd for RowShapeFingerprint
Source§impl Serialize for RowShapeFingerprint
impl Serialize for RowShapeFingerprint
impl Copy for RowShapeFingerprint
impl Eq for RowShapeFingerprint
impl StructuralPartialEq for RowShapeFingerprint
Auto Trait Implementations§
impl Freeze for RowShapeFingerprint
impl RefUnwindSafe for RowShapeFingerprint
impl Send for RowShapeFingerprint
impl Sync for RowShapeFingerprint
impl Unpin for RowShapeFingerprint
impl UnsafeUnpin for RowShapeFingerprint
impl UnwindSafe for RowShapeFingerprint
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more