pub struct TemplateLiteralType {
pub head: String,
pub spans: Vec<TemplateLiteralTypeSpan>,
}
Expand description
Template literal type
Fields§
§head: String
§spans: Vec<TemplateLiteralTypeSpan>
Trait Implementations§
Source§impl Clone for TemplateLiteralType
impl Clone for TemplateLiteralType
Source§fn clone(&self) -> TemplateLiteralType
fn clone(&self) -> TemplateLiteralType
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 TemplateLiteralType
impl Debug for TemplateLiteralType
Source§impl<'de> Deserialize<'de> for TemplateLiteralType
impl<'de> Deserialize<'de> for TemplateLiteralType
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
Auto Trait Implementations§
impl Freeze for TemplateLiteralType
impl RefUnwindSafe for TemplateLiteralType
impl Send for TemplateLiteralType
impl Sync for TemplateLiteralType
impl Unpin for TemplateLiteralType
impl UnwindSafe for TemplateLiteralType
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