pub struct SpecialVariableName {
pub span: Span,
pub text: String,
}Fields§
§span: Span§text: String$@, $*, $#, $?, $$, $!, $0, $_ — body sans $.
Trait Implementations§
Source§impl Clone for SpecialVariableName
impl Clone for SpecialVariableName
Source§fn clone(&self) -> SpecialVariableName
fn clone(&self) -> SpecialVariableName
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 Debug for SpecialVariableName
impl Debug for SpecialVariableName
Source§impl<'de> Deserialize<'de> for SpecialVariableName
impl<'de> Deserialize<'de> for SpecialVariableName
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 PartialEq for SpecialVariableName
impl PartialEq for SpecialVariableName
Source§impl Serialize for SpecialVariableName
impl Serialize for SpecialVariableName
impl StructuralPartialEq for SpecialVariableName
Auto Trait Implementations§
impl Freeze for SpecialVariableName
impl RefUnwindSafe for SpecialVariableName
impl Send for SpecialVariableName
impl Sync for SpecialVariableName
impl Unpin for SpecialVariableName
impl UnsafeUnpin for SpecialVariableName
impl UnwindSafe for SpecialVariableName
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