pub struct LocalBinding {
pub variable: Symbol,
pub operator: _ColEql,
pub value: Box<Expr>,
}Expand description
A typed Macaulay2 local_binding syntax node.
Fields§
§variable: SymbolThe variable child of this syntax node.
operator: _ColEqlThe operator child of this syntax node.
value: Box<Expr>The value child of this syntax node.
Implementations§
Trait Implementations§
Source§impl Debug for LocalBinding
impl Debug for LocalBinding
Source§impl From<LocalBinding> for Assignment
impl From<LocalBinding> for Assignment
Source§fn from(value: LocalBinding) -> Self
fn from(value: LocalBinding) -> Self
Converts to this type from the input type.
Source§impl From<LocalBinding> for Component
impl From<LocalBinding> for Component
Source§fn from(value: LocalBinding) -> Self
fn from(value: LocalBinding) -> Self
Converts to this type from the input type.
Source§impl From<LocalBinding> for Expr
impl From<LocalBinding> for Expr
Source§fn from(value: LocalBinding) -> Self
fn from(value: LocalBinding) -> Self
Converts to this type from the input type.
Source§impl From<LocalBinding> for SimpleBinding
impl From<LocalBinding> for SimpleBinding
Source§fn from(value: LocalBinding) -> Self
fn from(value: LocalBinding) -> Self
Converts to this type from the input type.
Source§impl Lex for LocalBinding
impl Lex for LocalBinding
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 LocalBindingwhere
N: ExternalCstNode,
impl<N> Migrate<N> for LocalBindingwhere
N: ExternalCstNode,
Source§impl PrettyTree for LocalBinding
impl PrettyTree for LocalBinding
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 LocalBinding
impl RefUnwindSafe for LocalBinding
impl Send for LocalBinding
impl Sync for LocalBinding
impl Unpin for LocalBinding
impl UnsafeUnpin for LocalBinding
impl UnwindSafe for LocalBinding
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