pub(crate) fn separate_probes(self) -> (ProviderSpecification, Vec<ProbeSpecification>) {
        let probes = self.probes;
        (
            ProviderSpecification {
                name: self.name,
                hash: self.hash,
                item_trait: self.item_trait,
                token_stream: self.token_stream,
                args: self.args,
                probes: Vec::new(),
            },
            probes,
        )
    }
/// Consumes this spec and returns the same spec with all probes removed, and instead the
/// probes vector is returned separately.  This is a convenient way to wrap
/// ProviderSpecification in something else (in truth its designed for the
/// `ProviderTraitGenerator` implementation classes)
Consumes this spec and returns the same spec with all probes removed, and instead the
probes vector is returned separately.  This is a convenient way to wrap
ProviderSpecification in something else (in truth its designed for the
`ProviderTraitGenerator` implementation classes)
Consumes this spec and returns the same spec with all probes removed and instead the probes vector is returned separately . This is a convenient way to wrap ProviderSpecification in something else ( in truth its designed for the ` ProviderTraitGenerator ` implementation classes )
pub(crate) fn separate_probes(self) -> (ProviderSpecification, Vec<ProbeSpecification>) {
        let probes = self.probes;
        (
            ProviderSpecification {
                name: self.name,
                hash: self.hash,
                item_trait: self.item_trait,
                token_stream: self.token_stream,
                args: self.args,
                probes: Vec::new(),
            },
            probes,
        )
    }
pub ( crate ) fn separate_probes ( self ) -> ( ProviderSpecification , Vec < ProbeSpecification > ) { let probes = self . probes ; ( ProviderSpecification { name : self . name , hash : self . hash , item_trait : self . item_trait , token_stream : self . token_stream , args : self . args , probes : Vec :: new ( ) , } , probes , ) }
Consumes this spec and returns the same spec with all probes removed, and instead the
probes vector is returned separately.
Consumes this spec and returns the same spec with all probes removed and instead the probes vector is returned separately .
self
self