Struct syn::PatTupleStruct
source · pub struct PatTupleStruct {
pub attrs: Vec<Attribute>,
pub qself: Option<QSelf>,
pub path: Path,
pub paren_token: Paren,
pub elems: Punctuated<Pat, Comma>,
}
Expand description
A tuple struct or tuple variant pattern: Variant(x, y, .., z)
.
Fields§
§attrs: Vec<Attribute>
§qself: Option<QSelf>
§path: Path
§paren_token: Paren
§elems: Punctuated<Pat, Comma>
Trait Implementations§
source§impl From<PatTupleStruct> for Pat
impl From<PatTupleStruct> for Pat
source§fn from(e: PatTupleStruct) -> Pat
fn from(e: PatTupleStruct) -> Pat
Converts to this type from the input type.