Enum rustfmt_nightly::patterns::TuplePatField
source · pub(crate) enum TuplePatField<'a> {
Pat(&'a P<Pat>),
Dotdot(Span),
}
Variants§
Implementations§
Trait Implementations§
source§impl<'a> Debug for TuplePatField<'a>
impl<'a> Debug for TuplePatField<'a>
source§impl<'a> IntoOverflowableItem<'a> for TuplePatField<'a>
impl<'a> IntoOverflowableItem<'a> for TuplePatField<'a>
fn into_overflowable_item(&'a self) -> OverflowableItem<'a>
source§impl<'a> Rewrite for TuplePatField<'a>
impl<'a> Rewrite for TuplePatField<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for TuplePatField<'a>
impl<'a> !Send for TuplePatField<'a>
impl<'a> !Sync for TuplePatField<'a>
impl<'a> Unpin for TuplePatField<'a>
impl<'a> !UnwindSafe for TuplePatField<'a>
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
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: 16 bytes
Size for each variant:
Pat
: 12 bytesDotdot
: 8 bytes