pub struct NewInstallation {
pub new_statement: NewStatement,
pub operator: _ColEql,
pub function: Box<Expr>,
}Expand description
A typed Macaulay2 new_installation syntax node.
Fields§
§new_statement: NewStatementThe new_statement child of this syntax node.
operator: _ColEqlThe operator child of this syntax node.
function: Box<Expr>The function child of this syntax node.
Implementations§
Source§impl NewInstallation
impl NewInstallation
Sourcepub fn new(
new_statement: NewStatement,
operator: _ColEql,
function: Expr,
) -> Self
pub fn new( new_statement: NewStatement, operator: _ColEql, function: Expr, ) -> Self
Creates this node from its typed children.
Trait Implementations§
Source§impl Debug for NewInstallation
impl Debug for NewInstallation
Source§impl From<NewInstallation> for Assignment
impl From<NewInstallation> for Assignment
Source§fn from(value: NewInstallation) -> Self
fn from(value: NewInstallation) -> Self
Converts to this type from the input type.
Source§impl From<NewInstallation> for Component
impl From<NewInstallation> for Component
Source§fn from(value: NewInstallation) -> Self
fn from(value: NewInstallation) -> Self
Converts to this type from the input type.
Source§impl From<NewInstallation> for Expr
impl From<NewInstallation> for Expr
Source§fn from(value: NewInstallation) -> Self
fn from(value: NewInstallation) -> Self
Converts to this type from the input type.
Source§impl From<NewInstallation> for Installation
impl From<NewInstallation> for Installation
Source§fn from(value: NewInstallation) -> Self
fn from(value: NewInstallation) -> Self
Converts to this type from the input type.
Source§impl Lex for NewInstallation
impl Lex for NewInstallation
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 NewInstallation
impl PrettyTree for NewInstallation
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 NewInstallationwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for NewInstallationwhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for NewInstallation
impl RefUnwindSafe for NewInstallation
impl Send for NewInstallation
impl Sync for NewInstallation
impl Unpin for NewInstallation
impl UnsafeUnpin for NewInstallation
impl UnwindSafe for NewInstallation
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