pub struct CodeEnrichment<T>(pub T);
Tuple Fields§
§0: T
Trait Implementations§
Source§impl Parse for CodeEnrichment<ExtensionSql>
impl Parse for CodeEnrichment<ExtensionSql>
Source§impl Parse for CodeEnrichment<ExtensionSqlFile>
impl Parse for CodeEnrichment<ExtensionSqlFile>
Source§impl Parse for CodeEnrichment<PgAggregate>
impl Parse for CodeEnrichment<PgAggregate>
Source§impl Parse for CodeEnrichment<PgExtern>
impl Parse for CodeEnrichment<PgExtern>
Source§impl Parse for CodeEnrichment<PostgresEnum>
impl Parse for CodeEnrichment<PostgresEnum>
Source§impl Parse for CodeEnrichment<PostgresHash>
impl Parse for CodeEnrichment<PostgresHash>
Source§impl Parse for CodeEnrichment<PostgresOrd>
impl Parse for CodeEnrichment<PostgresOrd>
Source§impl Parse for CodeEnrichment<PostgresTypeDerive>
impl Parse for CodeEnrichment<PostgresTypeDerive>
Source§impl<T> ToTokens for CodeEnrichment<T>where
T: ToEntityGraphTokens + ToRustCodeTokens,
impl<T> ToTokens for CodeEnrichment<T>where
T: ToEntityGraphTokens + ToRustCodeTokens,
Source§fn to_tokens(&self, tokens: &mut TokenStream2)
fn to_tokens(&self, tokens: &mut TokenStream2)
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Auto Trait Implementations§
impl<T> Freeze for CodeEnrichment<T>where
T: Freeze,
impl<T> RefUnwindSafe for CodeEnrichment<T>where
T: RefUnwindSafe,
impl<T> Send for CodeEnrichment<T>where
T: Send,
impl<T> Sync for CodeEnrichment<T>where
T: Sync,
impl<T> Unpin for CodeEnrichment<T>where
T: Unpin,
impl<T> UnwindSafe for CodeEnrichment<T>where
T: UnwindSafe,
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> Spanned for Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere
T: Spanned + ?Sized,
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.