struct EngineExpandInput {
driver: DeriveInput,
options: DdOptions,
imported_definitions: ImportedDefinitions,
template: TopTemplate,
template_crate: Path,
template_name: Option<Path>,
chain_next: Option<ChainNext>,
chain_after: TokenStream,
accum: TokenStream,
}Expand description
Input to derive_deftly_engine!, principal form (template expansion)
See implementation.md,
especially
“Overall input syntax for derive_deftly_engine! and templates”.
Fields§
§driver: DeriveInput§options: DdOptions§imported_definitions: ImportedDefinitions§template: TopTemplate§template_crate: Path§template_name: Option<Path>§chain_next: Option<ChainNext>§chain_after: TokenStream§accum: TokenStreamImplementations§
Source§impl EngineExpandInput
impl EngineExpandInput
fn parse_adviseable_remainder( driver: DeriveInput, options: DdOptions, input: ParseStream<'_>, opcontext_template: OpContext, ) -> Result<AdviseableInnerResult<Self>>
Source§impl EngineExpandInput
impl EngineExpandInput
fn process(self) -> Result<TokenStream>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EngineExpandInput
impl RefUnwindSafe for EngineExpandInput
impl !Send for EngineExpandInput
impl !Sync for EngineExpandInput
impl Unpin for EngineExpandInput
impl UnwindSafe for EngineExpandInput
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more