pub struct Form {
pub example: &'static str,
pub lowers_to: &'static str,
pub doc: &'static str,
}Expand description
One surface form.
Fields§
§example: &'static strThe form as an author writes it. Parsed by the gate.
lowers_to: &'static strThe tree example parses to, as Sexp’s Display prints it.
doc: &'static strOne line for a reader.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Form
impl RefUnwindSafe for Form
impl Send for Form
impl Sync for Form
impl Unpin for Form
impl UnsafeUnpin for Form
impl UnwindSafe for Form
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