Struct syn::PatTupleStruct
source · Expand description
A tuple struct or tuple variant pattern: Variant(x, y, .., z)
.
This type is available if Syn is built with the "full"
feature.
Fields§
§path: Path
§pat: PatTuple
Trait Implementations§
source§impl Clone for PatTupleStruct
impl Clone for PatTupleStruct
source§fn clone(&self) -> PatTupleStruct
fn clone(&self) -> PatTupleStruct
Returns a copy of the value. Read more
1.0.0 · 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 PatTupleStruct
impl Debug for PatTupleStruct
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.