pub struct TypeTuple {
pub tuple_token: Option<tuple>,
pub paren_token: Paren,
pub types: Punctuated<Type, Comma>,
}
Expand description
A tuple type.
Fields§
§tuple_token: Option<tuple>
§paren_token: Paren
§types: Punctuated<Type, Comma>
Implementations§
Source§impl TypeTuple
impl TypeTuple
Sourcepub fn is_abi_dynamic(&self) -> bool
pub fn is_abi_dynamic(&self) -> bool
See Type::is_abi_dynamic
.
Trait Implementations§
Source§impl FromIterator<Type> for TypeTuple
impl FromIterator<Type> for TypeTuple
Source§impl Spanned for TypeTuple
impl Spanned for TypeTuple
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.impl Eq for TypeTuple
Auto Trait Implementations§
impl Freeze for TypeTuple
impl RefUnwindSafe for TypeTuple
impl !Send for TypeTuple
impl !Sync for TypeTuple
impl Unpin for TypeTuple
impl UnwindSafe for TypeTuple
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)