Struct darklua_core::nodes::ParentheseExpression
source · [−]pub struct ParentheseExpression { /* private fields */ }Implementations
sourceimpl ParentheseExpression
impl ParentheseExpression
pub fn new<E: Into<Expression>>(expression: E) -> Self
pub fn inner_expression(&self) -> &Expression
pub fn into_inner_expression(self) -> Expression
pub fn mutate_inner_expression(&mut self) -> &mut Expression
pub fn with_tokens(self, tokens: ParentheseTokens) -> Self
pub fn set_tokens(&mut self, tokens: ParentheseTokens)
pub fn get_tokens(&self) -> Option<&ParentheseTokens>
pub fn clear_comments(&mut self)
pub fn clear_whitespaces(&mut self)
Trait Implementations
sourceimpl Clone for ParentheseExpression
impl Clone for ParentheseExpression
sourcefn clone(&self) -> ParentheseExpression
fn clone(&self) -> ParentheseExpression
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 ParentheseExpression
impl Debug for ParentheseExpression
sourceimpl From<ParentheseExpression> for Prefix
impl From<ParentheseExpression> for Prefix
sourcefn from(expression: ParentheseExpression) -> Self
fn from(expression: ParentheseExpression) -> Self
Converts to this type from the input type.
sourceimpl From<ParentheseExpression> for Expression
impl From<ParentheseExpression> for Expression
sourcefn from(expression: ParentheseExpression) -> Self
fn from(expression: ParentheseExpression) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ParentheseExpression> for ParentheseExpression
impl PartialEq<ParentheseExpression> for ParentheseExpression
sourcefn eq(&self, other: &ParentheseExpression) -> bool
fn eq(&self, other: &ParentheseExpression) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ParentheseExpression) -> bool
fn ne(&self, other: &ParentheseExpression) -> bool
This method tests for !=.
impl Eq for ParentheseExpression
impl StructuralEq for ParentheseExpression
impl StructuralPartialEq for ParentheseExpression
Auto Trait Implementations
impl RefUnwindSafe for ParentheseExpression
impl Send for ParentheseExpression
impl Sync for ParentheseExpression
impl Unpin for ParentheseExpression
impl UnwindSafe for ParentheseExpression
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