pub struct Cell {
pub content: ExprPack,
pub semicolon: Option<_Scl>,
pub eoc: Eoc,
}Expand description
A typed Macaulay2 cell syntax node.
Fields§
§content: ExprPackThe content child of this syntax node.
semicolon: Option<_Scl>The semicolon child of this syntax node.
eoc: EocThe eoc child of this syntax node.
Implementations§
Trait Implementations§
Source§impl Lex for Cell
impl Lex for Cell
Source§fn to_tokens(&self, output: &mut TokenStream)
fn to_tokens(&self, output: &mut TokenStream)
Appends this value’s token trees to
output.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Emits this value into a fresh token stream.
Source§impl PrettyTree for Cell
impl PrettyTree for Cell
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Source§impl<N> Reconstruct<N> for Cellwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for Cellwhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnsafeUnpin for Cell
impl UnwindSafe for Cell
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