pub enum LiteralOrVariable<'text> {
Literal(Literal<'text>),
Variable(Variable<'text>),
}Variants§
Trait Implementations§
Source§impl<'text> Clone for LiteralOrVariable<'text>
impl<'text> Clone for LiteralOrVariable<'text>
Source§impl Debug for LiteralOrVariable<'_>
impl Debug for LiteralOrVariable<'_>
Source§impl<'text> Visitable<'text> for LiteralOrVariable<'text>
impl<'text> Visitable<'text> for LiteralOrVariable<'text>
Auto Trait Implementations§
impl<'text> Freeze for LiteralOrVariable<'text>
impl<'text> RefUnwindSafe for LiteralOrVariable<'text>
impl<'text> Send for LiteralOrVariable<'text>
impl<'text> Sync for LiteralOrVariable<'text>
impl<'text> Unpin for LiteralOrVariable<'text>
impl<'text> UnsafeUnpin for LiteralOrVariable<'text>
impl<'text> UnwindSafe for LiteralOrVariable<'text>
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