pub struct FromInstance {
pub from_token: _From,
pub instance: Box<Expr>,
}Expand description
A typed Macaulay2 from_instance syntax node.
Fields§
§from_token: _FromThe from_token child of this syntax node.
instance: Box<Expr>The instance child of this syntax node.
Implementations§
Trait Implementations§
Source§impl Debug for FromInstance
impl Debug for FromInstance
Source§impl Lex for FromInstance
impl Lex for FromInstance
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 FromInstance
impl PrettyTree for FromInstance
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 FromInstancewhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for FromInstancewhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for FromInstance
impl RefUnwindSafe for FromInstance
impl Send for FromInstance
impl Sync for FromInstance
impl Unpin for FromInstance
impl UnsafeUnpin for FromInstance
impl UnwindSafe for FromInstance
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