pub struct InterpretationInfo {
pub name: String,
pub class_name: String,
pub input_capable: bool,
pub non_null_filter_capable: bool,
}Expand description
Metadata about one interpretation.
Fields§
§name: StringInterpretation name used in grammar and corpus files.
class_name: StringDeclared Alto algebra class name.
input_capable: boolWhether this interpretation can constrain parsing input.
non_null_filter_capable: boolWhether this interpretation can require evaluation to produce a value.
Trait Implementations§
Source§impl Clone for InterpretationInfo
impl Clone for InterpretationInfo
Source§fn clone(&self) -> InterpretationInfo
fn clone(&self) -> InterpretationInfo
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 InterpretationInfo
impl Debug for InterpretationInfo
impl Eq for InterpretationInfo
Source§impl PartialEq for InterpretationInfo
impl PartialEq for InterpretationInfo
Source§fn eq(&self, other: &InterpretationInfo) -> bool
fn eq(&self, other: &InterpretationInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterpretationInfo
Auto Trait Implementations§
impl Freeze for InterpretationInfo
impl RefUnwindSafe for InterpretationInfo
impl Send for InterpretationInfo
impl Sync for InterpretationInfo
impl Unpin for InterpretationInfo
impl UnsafeUnpin for InterpretationInfo
impl UnwindSafe for InterpretationInfo
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> 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.