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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes