pub struct TemplateType {
pub ident: Identifier,
pub args: Vec<TypeSpec>,
}Fields§
§ident: Identifier§args: Vec<TypeSpec>Trait Implementations§
Source§impl Debug for TemplateType
impl Debug for TemplateType
Source§impl<'de> Deserialize<'de> for TemplateType
impl<'de> Deserialize<'de> for TemplateType
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 From<TemplateType> for TemplateType
impl From<TemplateType> for TemplateType
Source§fn from(value: TemplateType) -> Self
fn from(value: TemplateType) -> Self
Converts to this type from the input type.
Source§impl<'a> FromTreeSitter<'a> for TemplateType
impl<'a> FromTreeSitter<'a> for TemplateType
fn from_node(node: Node<'a>, ctx: &mut ParseContext<'a>) -> ParserResult<Self>
Auto Trait Implementations§
impl Freeze for TemplateType
impl RefUnwindSafe for TemplateType
impl Send for TemplateType
impl Sync for TemplateType
impl Unpin for TemplateType
impl UnsafeUnpin for TemplateType
impl UnwindSafe for TemplateType
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