pub struct InterpObject {
pub name: String,
pub text: String,
pub value: Option<Box<dyn Any + Send>>,
}Expand description
One parsed object of an instance: an interpretation name, its raw text line, and the type-erased parsed value (taken when the instance is fed to the parser).
Fields§
§name: StringInterpretation name.
text: StringThe raw line as it appeared in the corpus.
value: Option<Box<dyn Any + Send>>The parsed algebra value, or None once it has been consumed for parsing.
Auto Trait Implementations§
impl !RefUnwindSafe for InterpObject
impl !Sync for InterpObject
impl !UnwindSafe for InterpObject
impl Freeze for InterpObject
impl Send for InterpObject
impl Unpin for InterpObject
impl UnsafeUnpin for InterpObject
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