Trait gluon_completion::Extract
source · pub trait Extract<'a>: Sized {
type Output;
// Required methods
fn extract(self, found: &Found<'a, '_>) -> Result<Self::Output, ()>;
fn match_extract(self, match_: &Match<'a, '_>) -> Result<Self::Output, ()>;
}
Required Associated Types§
Required Methods§
fn extract(self, found: &Found<'a, '_>) -> Result<Self::Output, ()>
fn match_extract(self, match_: &Match<'a, '_>) -> Result<Self::Output, ()>
Object Safety§
This trait is not object safe.