pub enum ArrayDimensions<'ast> {
Single(Single<'ast>),
Multiple(Multiple<'ast>),
}
Variants§
Implementations§
Source§impl<'ast> ArrayDimensions<'ast>
impl<'ast> ArrayDimensions<'ast>
pub fn next_dimension(&self) -> Self
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl<'ast> Clone for ArrayDimensions<'ast>
impl<'ast> Clone for ArrayDimensions<'ast>
Source§fn clone(&self) -> ArrayDimensions<'ast>
fn clone(&self) -> ArrayDimensions<'ast>
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<'ast> Debug for ArrayDimensions<'ast>
impl<'ast> Debug for ArrayDimensions<'ast>
Source§impl<'ast> Display for ArrayDimensions<'ast>
impl<'ast> Display for ArrayDimensions<'ast>
Source§impl<'ast> FromPest<'ast> for ArrayDimensions<'ast>
impl<'ast> FromPest<'ast> for ArrayDimensions<'ast>
Source§impl<'ast> PartialEq for ArrayDimensions<'ast>
impl<'ast> PartialEq for ArrayDimensions<'ast>
impl<'ast> Eq for ArrayDimensions<'ast>
impl<'ast> StructuralPartialEq for ArrayDimensions<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for ArrayDimensions<'ast>
impl<'ast> RefUnwindSafe for ArrayDimensions<'ast>
impl<'ast> Send for ArrayDimensions<'ast>
impl<'ast> Sync for ArrayDimensions<'ast>
impl<'ast> Unpin for ArrayDimensions<'ast>
impl<'ast> UnwindSafe for ArrayDimensions<'ast>
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