Struct valkyrie_ast::LambdaSlotNode
source · pub struct LambdaSlotNode {
pub level: usize,
pub item: LambdaSlotItem,
pub span: Range<u32>,
}Expand description
$, $1, $x
Fields§
§level: usizeThe repeat times of $
item: LambdaSlotItemThe name of the slot
span: Range<u32>The location of the slot
Trait Implementations§
source§impl Clone for LambdaSlotNode
impl Clone for LambdaSlotNode
source§fn clone(&self) -> LambdaSlotNode
fn clone(&self) -> LambdaSlotNode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LambdaSlotNode
impl Debug for LambdaSlotNode
source§impl From<LambdaSlotNode> for ExpressionKind
impl From<LambdaSlotNode> for ExpressionKind
source§fn from(o: LambdaSlotNode) -> Self
fn from(o: LambdaSlotNode) -> Self
Converts to this type from the input type.
source§impl Hash for LambdaSlotNode
impl Hash for LambdaSlotNode
source§impl PartialEq for LambdaSlotNode
impl PartialEq for LambdaSlotNode
source§fn eq(&self, other: &LambdaSlotNode) -> bool
fn eq(&self, other: &LambdaSlotNode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl ValkyrieNode for LambdaSlotNode
impl ValkyrieNode for LambdaSlotNode
impl Eq for LambdaSlotNode
impl StructuralPartialEq for LambdaSlotNode
Auto Trait Implementations§
impl RefUnwindSafe for LambdaSlotNode
impl Send for LambdaSlotNode
impl Sync for LambdaSlotNode
impl Unpin for LambdaSlotNode
impl UnwindSafe for LambdaSlotNode
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