pub enum ConstType {
IntegerType(IntegerType),
FloatingPtType(FloatingPtType),
FixedPtConstType(FixedPtConstType),
CharType(CharType),
WideCharType(WideCharType),
BooleanType(BooleanType),
OctetType(OctetType),
StringType(StringType),
WideStringType(WideStringType),
ScopedName(ScopedName),
SequenceType(SequenceType),
}Variants§
IntegerType(IntegerType)
FloatingPtType(FloatingPtType)
FixedPtConstType(FixedPtConstType)
CharType(CharType)
WideCharType(WideCharType)
BooleanType(BooleanType)
OctetType(OctetType)
StringType(StringType)
WideStringType(WideStringType)
ScopedName(ScopedName)
SequenceType(SequenceType)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ConstType
impl<'de> Deserialize<'de> for ConstType
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<'a> FromTreeSitter<'a> for ConstType
impl<'a> FromTreeSitter<'a> for ConstType
fn from_node(node: Node<'a>, ctx: &mut ParseContext<'a>) -> ParserResult<Self>
Auto Trait Implementations§
impl Freeze for ConstType
impl RefUnwindSafe for ConstType
impl Send for ConstType
impl Sync for ConstType
impl Unpin for ConstType
impl UnsafeUnpin for ConstType
impl UnwindSafe for ConstType
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