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