typst_utils

Macro assign_impl

source
macro_rules! assign_impl {
    ($a:ident += $b:ident) => { ... };
    ($a:ident -= $b:ident) => { ... };
    ($a:ident *= $b:ident) => { ... };
    ($a:ident /= $b:ident) => { ... };
}
Expand description

Implement an assign trait based on an existing non-assign trait.