pub struct ProfilingExpr {
pub profiling_modifier: ProfilingModifier,
pub value: Box<Expr>,
}Expand description
A typed Macaulay2 profiling_expr syntax node.
Fields§
§profiling_modifier: ProfilingModifierThe profiling_modifier child of this syntax node.
value: Box<Expr>The value child of this syntax node.
Implementations§
Source§impl ProfilingExpr
impl ProfilingExpr
Sourcepub fn new(profiling_modifier: ProfilingModifier, value: Expr) -> Self
pub fn new(profiling_modifier: ProfilingModifier, value: Expr) -> Self
Creates this node from its typed children.
Trait Implementations§
Source§impl Debug for ProfilingExpr
impl Debug for ProfilingExpr
Source§impl From<ProfilingExpr> for Component
impl From<ProfilingExpr> for Component
Source§fn from(value: ProfilingExpr) -> Self
fn from(value: ProfilingExpr) -> Self
Converts to this type from the input type.
Source§impl From<ProfilingExpr> for Expr
impl From<ProfilingExpr> for Expr
Source§fn from(value: ProfilingExpr) -> Self
fn from(value: ProfilingExpr) -> Self
Converts to this type from the input type.
Source§impl Lex for ProfilingExpr
impl Lex for ProfilingExpr
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 ProfilingExprwhere
N: ExternalCstNode,
impl<N> Migrate<N> for ProfilingExprwhere
N: ExternalCstNode,
Source§impl PrettyTree for ProfilingExpr
impl PrettyTree for ProfilingExpr
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 ProfilingExpr
impl RefUnwindSafe for ProfilingExpr
impl Send for ProfilingExpr
impl Sync for ProfilingExpr
impl Unpin for ProfilingExpr
impl UnsafeUnpin for ProfilingExpr
impl UnwindSafe for ProfilingExpr
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