Sign in
fuchsia
/
third_party
/
github.com
/
petgraph
/
petgraph
/
93eb324ff08d89d7cf87392ae0d5dc03c7d3c615
/
.
/
src
/
macros.rs
blob: 0d86ad13d16f2c0dd2ba6d2c01e4a1fe3cc1546f [
file
] [
log
] [
blame
]
macro_rules
!
clone_fields
{
(
$name
:
ident
,
$
(
$field
:
ident
),+
$
(,)*)
=>
(
fn
clone
(&
self
)
->
Self
{
$name
{
$
(
$field
:
self
.
$field
.
clone
()
),*
}
}
);
}