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