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