Struct lua_parser::ExprString
source · pub struct ExprString {
pub value: String,
pub span: Span,
}
Expand description
lua string literal value
Fields§
§value: String
§span: Span
Implementations§
Trait Implementations§
source§impl Clone for ExprString
impl Clone for ExprString
source§fn clone(&self) -> ExprString
fn clone(&self) -> ExprString
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 ExprString
impl Debug for ExprString
source§impl From<SpannedString> for ExprString
impl From<SpannedString> for ExprString
source§fn from(s: SpannedString) -> Self
fn from(s: SpannedString) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExprString
impl RefUnwindSafe for ExprString
impl Send for ExprString
impl Sync for ExprString
impl Unpin for ExprString
impl UnwindSafe for ExprString
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)