pub struct NormalizedInstructions {
pub version: String,
pub bytes: Vec<u8>,
}Expand description
A versioned representation used for normalized duplicate detection.
Fields§
§version: StringVersion of the format-specific normalization recipe.
bytes: Vec<u8>Normalized instruction bytes or tokens.
Trait Implementations§
Source§impl Clone for NormalizedInstructions
impl Clone for NormalizedInstructions
Source§fn clone(&self) -> NormalizedInstructions
fn clone(&self) -> NormalizedInstructions
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 NormalizedInstructions
impl Debug for NormalizedInstructions
Source§impl<'de> Deserialize<'de> for NormalizedInstructions
impl<'de> Deserialize<'de> for NormalizedInstructions
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 NormalizedInstructions
Source§impl PartialEq for NormalizedInstructions
impl PartialEq for NormalizedInstructions
Source§impl Serialize for NormalizedInstructions
impl Serialize for NormalizedInstructions
impl StructuralPartialEq for NormalizedInstructions
Auto Trait Implementations§
impl Freeze for NormalizedInstructions
impl RefUnwindSafe for NormalizedInstructions
impl Send for NormalizedInstructions
impl Sync for NormalizedInstructions
impl Unpin for NormalizedInstructions
impl UnsafeUnpin for NormalizedInstructions
impl UnwindSafe for NormalizedInstructions
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.