pub struct GrammarFixture {
pub origin: GrammarFixtureOrigin,
pub path: String,
pub case_name: String,
pub source: String,
pub source_blake3: Blake3Digest,
}Expand description
Exact source fixture with retained origin, case, path, and digest.
Fields§
§origin: GrammarFixtureOriginStable fixture provenance or transformation class.
path: StringExact upstream repository-relative fixture path.
case_name: StringExact upstream case name or stable example label.
source: StringExact natural source bytes represented as UTF-8.
source_blake3: Blake3DigestBLAKE3 of the exact fixture source.
Implementations§
Trait Implementations§
Source§impl Clone for GrammarFixture
impl Clone for GrammarFixture
Source§fn clone(&self) -> GrammarFixture
fn clone(&self) -> GrammarFixture
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 GrammarFixture
impl Debug for GrammarFixture
Source§impl<'de> Deserialize<'de> for GrammarFixture
impl<'de> Deserialize<'de> for GrammarFixture
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 PartialEq for GrammarFixture
impl PartialEq for GrammarFixture
Source§impl Serialize for GrammarFixture
impl Serialize for GrammarFixture
impl Eq for GrammarFixture
impl StructuralPartialEq for GrammarFixture
Auto Trait Implementations§
impl Freeze for GrammarFixture
impl RefUnwindSafe for GrammarFixture
impl Send for GrammarFixture
impl Sync for GrammarFixture
impl Unpin for GrammarFixture
impl UnwindSafe for GrammarFixture
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.