pub enum Assignment {
SimpleBinding(SimpleBinding),
ParallelAssignment(ParallelAssignment),
EvaluatedAssignment(EvaluatedAssignment),
Installation(Installation),
OperatorAssignment(OperatorAssignment),
}Expand description
The typed Assignment syntax category.
Variants§
SimpleBinding(SimpleBinding)
The SimpleBinding syntax alternative.
ParallelAssignment(ParallelAssignment)
The ParallelAssignment syntax alternative.
EvaluatedAssignment(EvaluatedAssignment)
The EvaluatedAssignment syntax alternative.
Installation(Installation)
The Installation syntax alternative.
OperatorAssignment(OperatorAssignment)
The OperatorAssignment syntax alternative.
Trait Implementations§
Source§impl Debug for Assignment
impl Debug for Assignment
Source§impl From<Assignment> for Component
impl From<Assignment> for Component
Source§fn from(value: Assignment) -> Self
fn from(value: Assignment) -> Self
Converts to this type from the input type.
Source§impl From<Assignment> for Expr
impl From<Assignment> for Expr
Source§fn from(value: Assignment) -> Self
fn from(value: Assignment) -> Self
Converts to this type from the input type.
Source§impl From<EvaluatedAssignment> for Assignment
impl From<EvaluatedAssignment> for Assignment
Source§fn from(value: EvaluatedAssignment) -> Self
fn from(value: EvaluatedAssignment) -> Self
Converts to this type from the input type.
Source§impl From<GlobalBinding> for Assignment
impl From<GlobalBinding> for Assignment
Source§fn from(value: GlobalBinding) -> Self
fn from(value: GlobalBinding) -> Self
Converts to this type from the input type.
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<Installation> for Assignment
impl From<Installation> for Assignment
Source§fn from(value: Installation) -> Self
fn from(value: Installation) -> Self
Converts to this type from the input type.
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<LocalParallelAssignment> for Assignment
impl From<LocalParallelAssignment> for Assignment
Source§fn from(value: LocalParallelAssignment) -> Self
fn from(value: LocalParallelAssignment) -> Self
Converts to this type from the input type.
Source§impl From<MethodInstallation> for Assignment
impl From<MethodInstallation> for Assignment
Source§fn from(value: MethodInstallation) -> Self
fn from(value: MethodInstallation) -> Self
Converts to this type from the input type.
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<OperatorAssignment> for Assignment
impl From<OperatorAssignment> for Assignment
Source§fn from(value: OperatorAssignment) -> Self
fn from(value: OperatorAssignment) -> Self
Converts to this type from the input type.
Source§impl From<OperatorInstallation> for Assignment
impl From<OperatorInstallation> for Assignment
Source§fn from(value: OperatorInstallation) -> Self
fn from(value: OperatorInstallation) -> Self
Converts to this type from the input type.
Source§impl From<ParallelAssignment> for Assignment
impl From<ParallelAssignment> for Assignment
Source§fn from(value: ParallelAssignment) -> Self
fn from(value: ParallelAssignment) -> Self
Converts to this type from the input type.
Source§impl From<SimpleBinding> for Assignment
impl From<SimpleBinding> for Assignment
Source§fn from(value: SimpleBinding) -> Self
fn from(value: SimpleBinding) -> Self
Converts to this type from the input type.
Source§impl Lex for Assignment
impl Lex for Assignment
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 Assignment
impl PrettyTree for Assignment
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 Assignmentwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for Assignmentwhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for Assignment
impl RefUnwindSafe for Assignment
impl Send for Assignment
impl Sync for Assignment
impl Unpin for Assignment
impl UnsafeUnpin for Assignment
impl UnwindSafe for Assignment
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