Enum bluejay_parser::ast::executable::VariableType
source · pub enum VariableType<'a> {
Named {
name: Name<'a>,
is_required: bool,
span: Span,
},
List {
inner: Box<Self>,
is_required: bool,
span: Span,
},
}Variants§
Trait Implementations§
source§impl<'a> Debug for VariableType<'a>
impl<'a> Debug for VariableType<'a>
source§impl<'a> Hash for VariableType<'a>
impl<'a> Hash for VariableType<'a>
source§impl<'a> Ord for VariableType<'a>
impl<'a> Ord for VariableType<'a>
source§impl<'a> PartialEq for VariableType<'a>
impl<'a> PartialEq for VariableType<'a>
source§impl<'a> PartialOrd for VariableType<'a>
impl<'a> PartialOrd for VariableType<'a>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl<'a> VariableType for VariableType<'a>
impl<'a> VariableType for VariableType<'a>
fn as_ref(&self) -> VariableTypeReference<'_, Self>
impl<'a> Eq for VariableType<'a>
Auto Trait Implementations§
impl<'a> Freeze for VariableType<'a>
impl<'a> RefUnwindSafe for VariableType<'a>
impl<'a> Send for VariableType<'a>
impl<'a> Sync for VariableType<'a>
impl<'a> Unpin for VariableType<'a>
impl<'a> UnwindSafe for VariableType<'a>
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