Struct darklua_core::nodes::IfStatementTokens
source · [−]pub struct IfStatementTokens {
pub if: Token,
pub then: Token,
pub end: Token,
pub else: Option<Token>,
}Fields
if: Tokenthen: Tokenend: Tokenelse: Option<Token>Implementations
sourceimpl IfStatementTokens
impl IfStatementTokens
pub fn clear_comments(&mut self)
pub fn clear_whitespaces(&mut self)
Trait Implementations
sourceimpl Clone for IfStatementTokens
impl Clone for IfStatementTokens
sourcefn clone(&self) -> IfStatementTokens
fn clone(&self) -> IfStatementTokens
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 IfStatementTokens
impl Debug for IfStatementTokens
sourceimpl PartialEq<IfStatementTokens> for IfStatementTokens
impl PartialEq<IfStatementTokens> for IfStatementTokens
sourcefn eq(&self, other: &IfStatementTokens) -> bool
fn eq(&self, other: &IfStatementTokens) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &IfStatementTokens) -> bool
fn ne(&self, other: &IfStatementTokens) -> bool
This method tests for !=.
impl Eq for IfStatementTokens
impl StructuralEq for IfStatementTokens
impl StructuralPartialEq for IfStatementTokens
Auto Trait Implementations
impl RefUnwindSafe for IfStatementTokens
impl Send for IfStatementTokens
impl Sync for IfStatementTokens
impl Unpin for IfStatementTokens
impl UnwindSafe for IfStatementTokens
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