pub enum CodegenTypeName<'a> {
Schema(&'a str, &'a SchemaIdent),
Inline(&'a InlineIrTypePath<'a>),
}Variants§
Schema(&'a str, &'a SchemaIdent)
Inline(&'a InlineIrTypePath<'a>)
Trait Implementations§
Source§impl<'a> Clone for CodegenTypeName<'a>
impl<'a> Clone for CodegenTypeName<'a>
Source§fn clone(&self) -> CodegenTypeName<'a>
fn clone(&self) -> CodegenTypeName<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for CodegenTypeName<'a>
impl<'a> Debug for CodegenTypeName<'a>
Source§impl<'a> Ord for CodegenTypeName<'a>
impl<'a> Ord for CodegenTypeName<'a>
Source§fn cmp(&self, other: &CodegenTypeName<'a>) -> Ordering
fn cmp(&self, other: &CodegenTypeName<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialEq for CodegenTypeName<'a>
impl<'a> PartialEq for CodegenTypeName<'a>
Source§impl<'a> PartialOrd for CodegenTypeName<'a>
impl<'a> PartialOrd for CodegenTypeName<'a>
Source§impl ToTokens for CodegenTypeName<'_>
impl ToTokens for CodegenTypeName<'_>
Source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
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,
impl<'a> Copy for CodegenTypeName<'a>
impl<'a> Eq for CodegenTypeName<'a>
impl<'a> StructuralPartialEq for CodegenTypeName<'a>
Auto Trait Implementations§
impl<'a> Freeze for CodegenTypeName<'a>
impl<'a> RefUnwindSafe for CodegenTypeName<'a>
impl<'a> Send for CodegenTypeName<'a>
impl<'a> Sync for CodegenTypeName<'a>
impl<'a> Unpin for CodegenTypeName<'a>
impl<'a> UnwindSafe for CodegenTypeName<'a>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 moreSource§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.