pub struct ScriptSVar<'a> {
pub name: &'a str,
pub value: &'a str,
pub name_span: Range<usize>,
pub value_span: Range<usize>,
pub value_kind: ScriptSVarValue<'a>,
}Fields§
§name: &'a str§value: &'a str§name_span: Range<usize>§value_span: Range<usize>§value_kind: ScriptSVarValue<'a>Trait Implementations§
Source§impl<'a> Clone for ScriptSVar<'a>
impl<'a> Clone for ScriptSVar<'a>
Source§fn clone(&self) -> ScriptSVar<'a>
fn clone(&self) -> ScriptSVar<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ScriptSVar<'a>
impl<'a> Debug for ScriptSVar<'a>
impl<'a> Eq for ScriptSVar<'a>
Source§impl<'a> PartialEq for ScriptSVar<'a>
impl<'a> PartialEq for ScriptSVar<'a>
Source§fn eq(&self, other: &ScriptSVar<'a>) -> bool
fn eq(&self, other: &ScriptSVar<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for ScriptSVar<'a>
Auto Trait Implementations§
impl<'a> Freeze for ScriptSVar<'a>
impl<'a> RefUnwindSafe for ScriptSVar<'a>
impl<'a> Send for ScriptSVar<'a>
impl<'a> Sync for ScriptSVar<'a>
impl<'a> Unpin for ScriptSVar<'a>
impl<'a> UnsafeUnpin for ScriptSVar<'a>
impl<'a> UnwindSafe for ScriptSVar<'a>
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