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