Struct syn::token::Existential
source · pub struct Existential {
pub span: Span,
}
Expand description
existential
Don’t try to remember the name of this type – use the Token!
macro instead.
Fields
span: Span
Trait Implementations
sourceimpl Clone for Existential
impl Clone for Existential
sourcefn clone(&self) -> Existential
fn clone(&self) -> Existential
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Existential
impl Debug for Existential
sourceimpl Default for Existential
impl Default for Existential
sourceimpl Hash for Existential
impl Hash for Existential
sourceimpl Parse for Existential
impl Parse for Existential
fn parse(input: ParseStream<'_>) -> Result<Self>
sourceimpl PartialEq<Existential> for Existential
impl PartialEq<Existential> for Existential
sourcefn eq(&self, _other: &Existential) -> bool
fn eq(&self, _other: &Existential) -> bool
sourceimpl ToTokens for Existential
impl ToTokens for Existential
sourcefn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
sourcefn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Copy for Existential
impl Eq for Existential
impl Token for Existential
Auto Trait Implementations
impl RefUnwindSafe for Existential
impl !Send for Existential
impl !Sync for Existential
impl Unpin for Existential
impl UnwindSafe for Existential
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Spanned for Twhere
T: ToTokens,
impl<T> Spanned for Twhere
T: ToTokens,
sourcefn 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. Read more