[][src]Trait gluon_completion::Extract

pub trait Extract: Sized {
    type Output;
    fn extract(self, found: &Found) -> Result<Self::Output, ()>;
fn match_extract(self, match_: &Match) -> Result<Self::Output, ()>; }

Associated Types

type Output

Loading content...

Required methods

fn extract(self, found: &Found) -> Result<Self::Output, ()>

fn match_extract(self, match_: &Match) -> Result<Self::Output, ()>

Loading content...

Implementations on Foreign Types

impl<A: Extract, B: Extract, C: Extract, D: Extract, E: Extract, F: Extract, G: Extract, H: Extract> Extract for (A, B, C, D, E, F, G, H)[src]

type Output = (A::Output, B::Output, C::Output, D::Output, E::Output, F::Output, G::Output, H::Output)

impl<B: Extract, C: Extract, D: Extract, E: Extract, F: Extract, G: Extract, H: Extract> Extract for (B, C, D, E, F, G, H)[src]

type Output = (B::Output, C::Output, D::Output, E::Output, F::Output, G::Output, H::Output)

impl<C: Extract, D: Extract, E: Extract, F: Extract, G: Extract, H: Extract> Extract for (C, D, E, F, G, H)[src]

type Output = (C::Output, D::Output, E::Output, F::Output, G::Output, H::Output)

impl<D: Extract, E: Extract, F: Extract, G: Extract, H: Extract> Extract for (D, E, F, G, H)[src]

type Output = (D::Output, E::Output, F::Output, G::Output, H::Output)

impl<E: Extract, F: Extract, G: Extract, H: Extract> Extract for (E, F, G, H)[src]

type Output = (E::Output, F::Output, G::Output, H::Output)

impl<F: Extract, G: Extract, H: Extract> Extract for (F, G, H)[src]

type Output = (F::Output, G::Output, H::Output)

impl<G: Extract, H: Extract> Extract for (G, H)[src]

type Output = (G::Output, H::Output)

Loading content...

Implementors

impl Extract for IdentAt[src]

type Output = Symbol

impl Extract for SpanAt[src]

type Output = Span<BytePos>

impl<'a> Extract for TypeAt<'a>[src]

type Output = Either<ArcKind, ArcType>

Loading content...