Sign in
fuchsia
/
third_party
/
github.com
/
petgraph
/
petgraph
/
refs/heads/main
/
.
/
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
()
),*
}
}
);
}