pub struct MetaSpec {
pub is_simplify: bool,
pub alt_form: bool,
}Expand description
Describes metadata about a rule.
Fields§
§is_simplify: bool§alt_form: boolIndicates that the rule describes an equivalence that isn’t necessarily a simplification, but might be a relevant form for algebraic transformations.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MetaSpec
impl<'de> Deserialize<'de> for MetaSpec
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 MetaSpec
impl StructuralPartialEq for MetaSpec
Auto Trait Implementations§
impl Freeze for MetaSpec
impl RefUnwindSafe for MetaSpec
impl Send for MetaSpec
impl Sync for MetaSpec
impl Unpin for MetaSpec
impl UnsafeUnpin for MetaSpec
impl UnwindSafe for MetaSpec
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