pub struct TypeAnnotation {
pub typical_value: Box<Expr>,
pub operator: _EqlGst,
}Expand description
A typed Macaulay2 type_annotation syntax node.
Fields§
§typical_value: Box<Expr>The typical_value child of this syntax node.
operator: _EqlGstThe operator child of this syntax node.
Implementations§
Trait Implementations§
Source§impl Debug for TypeAnnotation
impl Debug for TypeAnnotation
Source§impl Lex for TypeAnnotation
impl Lex for TypeAnnotation
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<N> Migrate<N> for TypeAnnotationwhere
N: ExternalCstNode,
impl<N> Migrate<N> for TypeAnnotationwhere
N: ExternalCstNode,
Source§impl PrettyTree for TypeAnnotation
impl PrettyTree for TypeAnnotation
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Auto Trait Implementations§
impl Freeze for TypeAnnotation
impl RefUnwindSafe for TypeAnnotation
impl Send for TypeAnnotation
impl Sync for TypeAnnotation
impl Unpin for TypeAnnotation
impl UnsafeUnpin for TypeAnnotation
impl UnwindSafe for TypeAnnotation
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