pub struct Interpretation {
pub kind: String,
pub expression: Option<String>,
pub summary: Option<String>,
pub lino: Option<String>,
}Expand description
Selected interpretation supplied by a consumer such as meta-expression.
Fields§
§kind: String§expression: Option<String>§summary: Option<String>§lino: Option<String>Implementations§
Source§impl Interpretation
impl Interpretation
pub fn arithmetic_equality(expression: &str) -> Self
pub fn arithmetic_question(expression: &str) -> Self
pub fn real_world_claim(summary: &str) -> Self
pub fn lino(expression: &str) -> Self
Trait Implementations§
Source§impl Clone for Interpretation
impl Clone for Interpretation
Source§fn clone(&self) -> Interpretation
fn clone(&self) -> Interpretation
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 Interpretation
impl Debug for Interpretation
Source§impl PartialEq for Interpretation
impl PartialEq for Interpretation
impl StructuralPartialEq for Interpretation
Auto Trait Implementations§
impl Freeze for Interpretation
impl RefUnwindSafe for Interpretation
impl Send for Interpretation
impl Sync for Interpretation
impl Unpin for Interpretation
impl UnsafeUnpin for Interpretation
impl UnwindSafe for Interpretation
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