pub struct AnnotationAppl {
pub name: AnnotationName,
pub params: Option<AnnotationParams>,
pub is_extend: bool,
pub extra: Vec<AnnotationAppl>,
}Fields§
§name: AnnotationName§params: Option<AnnotationParams>§is_extend: bool§extra: Vec<AnnotationAppl>Trait Implementations§
Source§impl Clone for AnnotationAppl
impl Clone for AnnotationAppl
Source§fn clone(&self) -> AnnotationAppl
fn clone(&self) -> AnnotationAppl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnnotationAppl
impl Debug for AnnotationAppl
Source§impl<'de> Deserialize<'de> for AnnotationAppl
impl<'de> Deserialize<'de> for AnnotationAppl
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<AnnotationAppl> for Annotation
impl From<AnnotationAppl> for Annotation
Source§fn from(value: AnnotationAppl) -> Self
fn from(value: AnnotationAppl) -> Self
Converts to this type from the input type.
Source§impl<'a> FromTreeSitter<'a> for AnnotationAppl
impl<'a> FromTreeSitter<'a> for AnnotationAppl
fn from_node(node: Node<'a>, ctx: &mut ParseContext<'a>) -> ParserResult<Self>
Auto Trait Implementations§
impl Freeze for AnnotationAppl
impl RefUnwindSafe for AnnotationAppl
impl Send for AnnotationAppl
impl Sync for AnnotationAppl
impl Unpin for AnnotationAppl
impl UnsafeUnpin for AnnotationAppl
impl UnwindSafe for AnnotationAppl
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