Sign in
fuchsia
/
fuchsia
/
68a0c6edd15398a7458a55704651264dee4bfef6
/
.
/
third_party
/
rust_crates
/
vendor
/
font-rs
/
src
/
macros.rs
blob: deccd9d6b02e178f31bd4a8328c8e4e22f2d5ce2 [
file
] [
log
] [
blame
]
#[
macro_export
]
macro_rules
!
gen_new
{
(
$r
:
ident
,
$
(
$field
:
ident
:
$field_type
:
ty
),*)
=>
{
impl
$r
{
pub
fn
new
(
$
(
$field
:
$field_type
),*)
->
Self
{
$r
{
$
(
$field
:
$field
),*
}
}
}
}
}