pub enum ConstParameterValue<'tree> {
Literal(Box<Literal<'tree>>),
Block(Box<Block<'tree>>),
Identifier(Box<Identifier<'tree>>),
NegativeLiteral(Box<NegativeLiteral<'tree>>),
}Variants§
Literal(Box<Literal<'tree>>)
Block(Box<Block<'tree>>)
Identifier(Box<Identifier<'tree>>)
NegativeLiteral(Box<NegativeLiteral<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for ConstParameterValue<'tree>
impl<'tree> Clone for ConstParameterValue<'tree>
Source§fn clone(&self) -> ConstParameterValue<'tree>
fn clone(&self) -> ConstParameterValue<'tree>
Returns a duplicate 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<'tree> Debug for ConstParameterValue<'tree>
impl<'tree> Debug for ConstParameterValue<'tree>
Source§impl<'tree> FromNode<'tree> for ConstParameterValue<'tree>
impl<'tree> FromNode<'tree> for ConstParameterValue<'tree>
Source§impl<'tree> PartialEq for ConstParameterValue<'tree>
impl<'tree> PartialEq for ConstParameterValue<'tree>
Source§impl Spanned for ConstParameterValue<'_>
impl Spanned for ConstParameterValue<'_>
impl<'tree> Eq for ConstParameterValue<'tree>
impl<'tree> StructuralPartialEq for ConstParameterValue<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for ConstParameterValue<'tree>
impl<'tree> RefUnwindSafe for ConstParameterValue<'tree>
impl<'tree> Send for ConstParameterValue<'tree>
impl<'tree> Sync for ConstParameterValue<'tree>
impl<'tree> Unpin for ConstParameterValue<'tree>
impl<'tree> UnsafeUnpin for ConstParameterValue<'tree>
impl<'tree> UnwindSafe for ConstParameterValue<'tree>
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