Macro coalesce::coalesce
[−]
[src]
macro_rules! coalesce { (:&mut $i:expr; $t:ident $id:ident $x:expr => $($v:ident)*) => { ... }; (:&$i:expr; $t:ident $id:ident $x:expr => $($v:ident)*) => { ... }; (:$i:expr; $t:ident $id:ident $x:expr => $($v:ident)*) => { ... }; (0 => |ref mut $id:ident| $x:expr) => { ... }; (1 => |ref mut $id:ident| $x:expr) => { ... }; (2 => |ref mut $id:ident| $x:expr) => { ... }; (3 => |ref mut $id:ident| $x:expr) => { ... }; (4 => |ref mut $id:ident| $x:expr) => { ... }; (5 => |ref mut $id:ident| $x:expr) => { ... }; (6 => |ref mut $id:ident| $x:expr) => { ... }; (7 => |ref mut $id:ident| $x:expr) => { ... }; (8 => |ref mut $id:ident| $x:expr) => { ... }; (9 => |ref mut $id:ident| $x:expr) => { ... }; (0 => |ref $id:ident| $x:expr) => { ... }; (1 => |ref $id:ident| $x:expr) => { ... }; (2 => |ref $id:ident| $x:expr) => { ... }; (3 => |ref $id:ident| $x:expr) => { ... }; (4 => |ref $id:ident| $x:expr) => { ... }; (5 => |ref $id:ident| $x:expr) => { ... }; (6 => |ref $id:ident| $x:expr) => { ... }; (7 => |ref $id:ident| $x:expr) => { ... }; (8 => |ref $id:ident| $x:expr) => { ... }; (9 => |ref $id:ident| $x:expr) => { ... }; (0 => |$id:ident| $x:expr) => { ... }; (1 => |$id:ident| $x:expr) => { ... }; (2 => |$id:ident| $x:expr) => { ... }; (3 => |$id:ident| $x:expr) => { ... }; (4 => |$id:ident| $x:expr) => { ... }; (5 => |$id:ident| $x:expr) => { ... }; (6 => |$id:ident| $x:expr) => { ... }; (7 => |$id:ident| $x:expr) => { ... }; (8 => |$id:ident| $x:expr) => { ... }; (9 => |$id:ident| $x:expr) => { ... }; }
Coalesces multiple values into one common (often borrowed) type.
See the crate documentation for an example.