pub enum Never {}Trait Implementations§
Source§impl IntoTokenTree for Never
impl IntoTokenTree for Never
Source§fn into_token_tree(self) -> TokenTree
fn into_token_tree(self) -> TokenTree
Available on crate feature
proc-macro only.Source§fn into_token_tree2(self) -> TokenTree
fn into_token_tree2(self) -> TokenTree
Available on crate feature
proc-macro2 only.Source§impl IntoTokens for Never
impl IntoTokens for Never
Source§fn into_tokens(self, _: &mut TokenStream)
fn into_tokens(self, _: &mut TokenStream)
Available on crate feature
proc-macro only.Source§fn into_token_stream(self) -> TokenStream
fn into_token_stream(self) -> TokenStream
Available on crate feature
proc-macro only.Source§fn into_tokens2(self, _: &mut TokenStream)
fn into_tokens2(self, _: &mut TokenStream)
Available on crate feature
proc-macro2 only.Source§fn into_token_stream2(self) -> TokenStream
fn into_token_stream2(self) -> TokenStream
Available on crate feature
proc-macro2 only.Source§impl RefWithSpan for Never
impl RefWithSpan for Never
type RefWithDefaultSpan<'a, S: Span> = Never where Self: 'a
type RefWithReplacedSpan<'a, S: Span> = Never where Self: 'a
fn ref_with_default_span<S: Span>( &self, _: S, ) -> Self::RefWithDefaultSpan<'_, S>
fn ref_with_replaced_span<S: Span>( &self, _: S, ) -> Self::RefWithReplacedSpan<'_, S>
Source§impl ToTokenTree for Never
impl ToTokenTree for Never
Source§fn to_token_tree(&self) -> TokenTree
fn to_token_tree(&self) -> TokenTree
Available on crate feature
proc-macro only.Source§fn to_token_tree2(&self) -> TokenTree
fn to_token_tree2(&self) -> TokenTree
Available on crate feature
proc-macro2 only.Source§impl ToTokens for Never
impl ToTokens for Never
Source§fn to_tokens(&self, _: &mut TokenStream)
fn to_tokens(&self, _: &mut TokenStream)
Available on crate feature
proc-macro only.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Available on crate feature
proc-macro only.Source§fn to_tokens2(&self, _: &mut TokenStream)
fn to_tokens2(&self, _: &mut TokenStream)
Available on crate feature
proc-macro2 only.Source§fn to_token_stream2(&self) -> TokenStream
fn to_token_stream2(&self) -> TokenStream
Available on crate feature
proc-macro2 only.Source§impl WithSpan for Never
impl WithSpan for Never
type WithDefaultSpan<S: Span> = Never
type WithReplacedSpan<S: Span> = Never
fn with_default_span<S: Span>(self, _: S) -> Self::WithDefaultSpan<S>
fn with_replaced_span<S: Span>(self, _: S) -> Self::WithReplacedSpan<S>
impl Copy for Never
impl MaybeSpan for Never
impl Span for Never
Auto Trait Implementations§
impl Freeze for Never
impl RefUnwindSafe for Never
impl Send for Never
impl Sync for Never
impl Unpin for Never
impl UnsafeUnpin for Never
impl UnwindSafe for Never
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