pub enum RigzArguments<'lex> {
Positional(Vec<Expression<'lex>>),
Mixed(Vec<Expression<'lex>>, Vec<(&'lex str, Expression<'lex>)>),
Named(Vec<(&'lex str, Expression<'lex>)>),
}Variants§
Positional(Vec<Expression<'lex>>)
Mixed(Vec<Expression<'lex>>, Vec<(&'lex str, Expression<'lex>)>)
Named(Vec<(&'lex str, Expression<'lex>)>)
Implementations§
Source§impl<'a> RigzArguments<'a>
impl<'a> RigzArguments<'a>
pub fn prepend(self, base: Expression<'a>) -> RigzArguments<'a>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl<'lex> Clone for RigzArguments<'lex>
impl<'lex> Clone for RigzArguments<'lex>
Source§fn clone(&self) -> RigzArguments<'lex>
fn clone(&self) -> RigzArguments<'lex>
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<'lex> Debug for RigzArguments<'lex>
impl<'lex> Debug for RigzArguments<'lex>
Source§impl<'lex> From<Vec<Expression<'lex>>> for RigzArguments<'lex>
impl<'lex> From<Vec<Expression<'lex>>> for RigzArguments<'lex>
Source§fn from(value: Vec<Expression<'lex>>) -> RigzArguments<'lex>
fn from(value: Vec<Expression<'lex>>) -> RigzArguments<'lex>
Converts to this type from the input type.
Source§impl<'lex> PartialEq for RigzArguments<'lex>
impl<'lex> PartialEq for RigzArguments<'lex>
impl<'lex> StructuralPartialEq for RigzArguments<'lex>
Auto Trait Implementations§
impl<'lex> Freeze for RigzArguments<'lex>
impl<'lex> RefUnwindSafe for RigzArguments<'lex>
impl<'lex> Send for RigzArguments<'lex>
impl<'lex> Sync for RigzArguments<'lex>
impl<'lex> Unpin for RigzArguments<'lex>
impl<'lex> UnwindSafe for RigzArguments<'lex>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more