pub struct ImportedDefinitions {
parsed: Template<TokenAccumulator>,
}Expand description
The PREFIX inside a derive_deftly_engine! call to define a template
Fields§
§parsed: Template<TokenAccumulator>Trait Implementations§
Source§impl Debug for ImportedDefinitions
impl Debug for ImportedDefinitions
Source§impl Default for ImportedDefinitions
impl Default for ImportedDefinitions
Source§fn default() -> ImportedDefinitions
fn default() -> ImportedDefinitions
Returns the “default value” for a type. Read more
Source§impl Deref for ImportedDefinitions
impl Deref for ImportedDefinitions
Source§type Target = Template<TokenAccumulator>
type Target = Template<TokenAccumulator>
The resulting type after dereferencing.
Source§fn deref(&self) -> &Template<TokenAccumulator>
fn deref(&self) -> &Template<TokenAccumulator>
Dereferences the value.
Source§impl Parse for ImportedDefinitions
impl Parse for ImportedDefinitions
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for ImportedDefinitions
impl RefUnwindSafe for ImportedDefinitions
impl !Send for ImportedDefinitions
impl !Sync for ImportedDefinitions
impl Unpin for ImportedDefinitions
impl UnwindSafe for ImportedDefinitions
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