Struct darklua_core::nodes::TupleArguments
source · [−]pub struct TupleArguments { /* private fields */ }Implementations
sourceimpl TupleArguments
impl TupleArguments
pub fn new(values: Vec<Expression>) -> Self
pub fn to_expressions(self) -> Vec<Expression>
pub fn with_tokens(self, tokens: TupleArgumentsTokens) -> Self
pub fn set_tokens(&mut self, tokens: TupleArgumentsTokens)
pub fn get_tokens(&self) -> Option<&TupleArgumentsTokens>
pub fn with_argument<T: Into<Expression>>(self, argument: T) -> Self
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn iter_values(&self) -> impl Iterator<Item = &Expression>
pub fn iter_mut_values(&mut self) -> impl Iterator<Item = &mut Expression>
pub fn clear_comments(&mut self)
pub fn clear_whitespaces(&mut self)
Trait Implementations
sourceimpl Clone for TupleArguments
impl Clone for TupleArguments
sourcefn clone(&self) -> TupleArguments
fn clone(&self) -> TupleArguments
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TupleArguments
impl Debug for TupleArguments
sourceimpl Default for TupleArguments
impl Default for TupleArguments
sourcefn default() -> TupleArguments
fn default() -> TupleArguments
Returns the “default value” for a type. Read more
sourceimpl From<Arguments> for TupleArguments
impl From<Arguments> for TupleArguments
sourceimpl From<TupleArguments> for Arguments
impl From<TupleArguments> for Arguments
sourcefn from(tuple: TupleArguments) -> Self
fn from(tuple: TupleArguments) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<TupleArguments> for TupleArguments
impl PartialEq<TupleArguments> for TupleArguments
sourcefn eq(&self, other: &TupleArguments) -> bool
fn eq(&self, other: &TupleArguments) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TupleArguments) -> bool
fn ne(&self, other: &TupleArguments) -> bool
This method tests for !=.
impl Eq for TupleArguments
impl StructuralEq for TupleArguments
impl StructuralPartialEq for TupleArguments
Auto Trait Implementations
impl RefUnwindSafe for TupleArguments
impl Send for TupleArguments
impl Sync for TupleArguments
impl Unpin for TupleArguments
impl UnwindSafe for TupleArguments
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more