pub struct LuaMemberExpression {
pub table: LuaExpression,
pub member: String,
pub is_method: bool,
}Expand description
Member access expression
Fields§
§table: LuaExpressionThe table whose member is being accessed.
member: StringThe member name.
is_method: boolWhether this is a method call (using :).
Trait Implementations§
Source§impl Clone for LuaMemberExpression
impl Clone for LuaMemberExpression
Source§fn clone(&self) -> LuaMemberExpression
fn clone(&self) -> LuaMemberExpression
Returns a duplicate 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 LuaMemberExpression
impl Debug for LuaMemberExpression
Source§impl<'de> Deserialize<'de> for LuaMemberExpression
impl<'de> Deserialize<'de> for LuaMemberExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for LuaMemberExpression
impl Serialize for LuaMemberExpression
Source§impl ToSource for LuaMemberExpression
impl ToSource for LuaMemberExpression
Source§fn to_source(&self, buffer: &mut SourceBuffer)
fn to_source(&self, buffer: &mut SourceBuffer)
Writes the source code representation of this type to the provided buffer.
Source§fn to_source_string(&self) -> String
fn to_source_string(&self) -> String
Converts this type to a source code string.
Auto Trait Implementations§
impl Freeze for LuaMemberExpression
impl RefUnwindSafe for LuaMemberExpression
impl Send for LuaMemberExpression
impl Sync for LuaMemberExpression
impl Unpin for LuaMemberExpression
impl UnsafeUnpin for LuaMemberExpression
impl UnwindSafe for LuaMemberExpression
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