Struct darklua_core::nodes::BlockTokens
source · pub struct BlockTokens {
pub semicolons: Vec<Option<Token>>,
pub last_semicolon: Option<Token>,
}Fields§
§semicolons: Vec<Option<Token>>§last_semicolon: Option<Token>Implementations§
source§impl BlockTokens
impl BlockTokens
pub fn clear_comments(&mut self)
pub fn clear_whitespaces(&mut self)
Trait Implementations§
source§impl Clone for BlockTokens
impl Clone for BlockTokens
source§fn clone(&self) -> BlockTokens
fn clone(&self) -> BlockTokens
Returns a copy 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 Debug for BlockTokens
impl Debug for BlockTokens
source§impl PartialEq<BlockTokens> for BlockTokens
impl PartialEq<BlockTokens> for BlockTokens
source§fn eq(&self, other: &BlockTokens) -> bool
fn eq(&self, other: &BlockTokens) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for BlockTokens
impl StructuralEq for BlockTokens
impl StructuralPartialEq for BlockTokens
Auto Trait Implementations§
impl RefUnwindSafe for BlockTokens
impl Send for BlockTokens
impl Sync for BlockTokens
impl Unpin for BlockTokens
impl UnwindSafe for BlockTokens
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