pub enum SubscriptIndex {
Primary(PrimaryExpression),
Binary(BinaryExpression),
Concatenation(Concatenation),
Parenthesized(ParenthesizedExpression),
Unary(UnaryExpression),
}Expand description
What subscript.index may contain.
Variants§
Primary(PrimaryExpression)
Binary(BinaryExpression)
Concatenation(Concatenation)
Parenthesized(ParenthesizedExpression)
Unary(UnaryExpression)
Trait Implementations§
Source§impl Clone for SubscriptIndex
impl Clone for SubscriptIndex
Source§fn clone(&self) -> SubscriptIndex
fn clone(&self) -> SubscriptIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubscriptIndex
impl Debug for SubscriptIndex
Source§impl<'de> Deserialize<'de> for SubscriptIndex
impl<'de> Deserialize<'de> for SubscriptIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SubscriptIndex
impl PartialEq for SubscriptIndex
Source§impl Serialize for SubscriptIndex
impl Serialize for SubscriptIndex
impl StructuralPartialEq for SubscriptIndex
Auto Trait Implementations§
impl Freeze for SubscriptIndex
impl RefUnwindSafe for SubscriptIndex
impl Send for SubscriptIndex
impl Sync for SubscriptIndex
impl Unpin for SubscriptIndex
impl UnsafeUnpin for SubscriptIndex
impl UnwindSafe for SubscriptIndex
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