pub struct TypeImplTrait {
pub impl_token: Impl,
pub bounds: Punctuated<TypeParamBound, Add>,
}Expand description
An impl Bound1 + Bound2 + Bound3 type where Bound is a trait or
a lifetime.
This type is available if Syn is built with the "derive" or
"full" feature.
Fields§
§impl_token: Impl§bounds: Punctuated<TypeParamBound, Add>Trait Implementations§
Source§impl Clone for TypeImplTrait
impl Clone for TypeImplTrait
Source§fn clone(&self) -> TypeImplTrait
fn clone(&self) -> TypeImplTrait
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TypeImplTrait
impl Debug for TypeImplTrait
impl Eq for TypeImplTrait
Source§impl From<TypeImplTrait> for Type
impl From<TypeImplTrait> for Type
Source§fn from(e: TypeImplTrait) -> Type
fn from(e: TypeImplTrait) -> Type
Converts to this type from the input type.
Source§impl Hash for TypeImplTrait
impl Hash for TypeImplTrait
Source§impl PartialEq for TypeImplTrait
impl PartialEq for TypeImplTrait
Source§fn eq(&self, other: &TypeImplTrait) -> bool
fn eq(&self, other: &TypeImplTrait) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TypeImplTrait
Source§impl Synom for TypeImplTrait
impl Synom for TypeImplTrait
Auto Trait Implementations§
impl !Send for TypeImplTrait
impl !Sync for TypeImplTrait
impl Freeze for TypeImplTrait
impl RefUnwindSafe for TypeImplTrait
impl Unpin for TypeImplTrait
impl UnsafeUnpin for TypeImplTrait
impl UnwindSafe for TypeImplTrait
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<T> Spanned for Twhere
T: ToTokens,
impl<T> Spanned for Twhere
T: ToTokens,
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.