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