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