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