pub struct ValueDictionary {
pub strings: Vec<Arc<str>>,
pub keys: Vec<(Name, ValueKeyState)>,
}Expand description
A graph’s value dictionary as a snapshot carries it, so a restarted graph stores the values it numbered by number again. Only a hint: a graph without it reads every value the same, and stores more bytes.
Fields§
§strings: Vec<Arc<str>>The numbered strings, in number order.
keys: Vec<(Name, ValueKeyState)>The keys judged after their trial.
Trait Implementations§
Source§impl Clone for ValueDictionary
impl Clone for ValueDictionary
Source§impl Debug for ValueDictionary
impl Debug for ValueDictionary
Source§impl Default for ValueDictionary
impl Default for ValueDictionary
impl Eq for ValueDictionary
Source§impl PartialEq for ValueDictionary
impl PartialEq for ValueDictionary
impl StructuralPartialEq for ValueDictionary
Auto Trait Implementations§
impl Freeze for ValueDictionary
impl RefUnwindSafe for ValueDictionary
impl Send for ValueDictionary
impl Sync for ValueDictionary
impl Unpin for ValueDictionary
impl UnsafeUnpin for ValueDictionary
impl UnwindSafe for ValueDictionary
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<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