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