Skip to main content

DestructuringFieldInto

Trait DestructuringFieldInto 

Source
pub trait DestructuringFieldInto: ASTNode {
    type TypeAnnotation: Clone + PartialEq + Debug + Sync + Send + 'static;

    // Required method
    fn type_annotation_from_reader(
        reader: &mut impl TokenReader<TSXToken, TokenStart>,
        state: &mut ParsingState,
        options: &ParseOptions,
    ) -> ParseResult<Self::TypeAnnotation>;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§