pub struct GlobalParallelAssignment {
pub argument_pack: Box<AssignmentPack>,
pub operator: _Eql,
pub value: Box<Expr>,
}Expand description
A typed Macaulay2 global_parallel_assignment syntax node.
Fields§
§argument_pack: Box<AssignmentPack>The argument_pack child of this syntax node.
operator: _EqlThe operator child of this syntax node.
value: Box<Expr>The value child of this syntax node.
Implementations§
Source§impl GlobalParallelAssignment
impl GlobalParallelAssignment
Sourcepub fn new(argument_pack: AssignmentPack, operator: _Eql, value: Expr) -> Self
pub fn new(argument_pack: AssignmentPack, operator: _Eql, value: Expr) -> Self
Creates this node from its typed children.
Trait Implementations§
Source§impl Debug for GlobalParallelAssignment
impl Debug for GlobalParallelAssignment
Source§impl From<GlobalParallelAssignment> for Assignment
impl From<GlobalParallelAssignment> for Assignment
Source§fn from(value: GlobalParallelAssignment) -> Self
fn from(value: GlobalParallelAssignment) -> Self
Converts to this type from the input type.
Source§impl From<GlobalParallelAssignment> for Component
impl From<GlobalParallelAssignment> for Component
Source§fn from(value: GlobalParallelAssignment) -> Self
fn from(value: GlobalParallelAssignment) -> Self
Converts to this type from the input type.
Source§impl From<GlobalParallelAssignment> for Expr
impl From<GlobalParallelAssignment> for Expr
Source§fn from(value: GlobalParallelAssignment) -> Self
fn from(value: GlobalParallelAssignment) -> Self
Converts to this type from the input type.
Source§impl From<GlobalParallelAssignment> for ParallelAssignment
impl From<GlobalParallelAssignment> for ParallelAssignment
Source§fn from(value: GlobalParallelAssignment) -> Self
fn from(value: GlobalParallelAssignment) -> Self
Converts to this type from the input type.
Source§impl Lex for GlobalParallelAssignment
impl Lex for GlobalParallelAssignment
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 GlobalParallelAssignment
impl PrettyTree for GlobalParallelAssignment
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 GlobalParallelAssignmentwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for GlobalParallelAssignmentwhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for GlobalParallelAssignment
impl RefUnwindSafe for GlobalParallelAssignment
impl Send for GlobalParallelAssignment
impl Sync for GlobalParallelAssignment
impl Unpin for GlobalParallelAssignment
impl UnsafeUnpin for GlobalParallelAssignment
impl UnwindSafe for GlobalParallelAssignment
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