Macro io::read_value

source ยท
macro_rules! read_value {
    (@source [$source:expr] @kind [[$($kind:tt)*]] @hint [$var:tt]) => { ... };
    (@vec @source [$source:expr] @kind [$($kind:tt)*] @hint [$var:tt] @rest) => { ... };
    (@vec @source [$source:expr] @kind [$($kind:tt)*] @hint[$var:tt] @rest ; const $($rest:tt)*) => { ... };
    (@vec @source [$source:expr] @kind [$($kind:tt)*] @hint[$var:tt] @rest ; const $($rest:tt)*) => { ... };
    (@vec @source [$source:expr] @kind [$($kind:tt)*] @hint[$var:tt] @rest ; _) => { ... };
    (@vec @source [$source:expr] @kind [$($kind:tt)*] @hint[$var:tt] @rest ; $($rest:tt)*) => { ... };
    (@vec @source [$source:expr] @kind [$($kind:tt)*] @hint[$var:tt] @rest $tt:tt $($rest:tt)*) => { ... };
    (@vec @source [$source:expr] @kind [$($kind:tt)*] @hint[$var:tt] @len [$($len:tt)*]) => { ... };
    (@array @source [$source:expr] @kind [$($kind:tt)*] @hint[$var:tt] @len [_]) => { ... };
    (@array @source [$source:expr] @kind [$($kind:tt)*] @hint[$var:tt] @len [$($len:tt)*]) => { ... };
    (@source [$source:expr] @kind [($($kinds:tt)*)] @hint [$var:tt]) => { ... };
    (@tuple @source [$source:expr] @kinds [$([$($kind:tt)*])*] @current [] @hint [$var:tt] @rest) => { ... };
    (@tuple @source [$source:expr] @kinds [$($kinds:tt)*] @current [$($curr:tt)*] @hint [$var:tt] @rest) => { ... };
    (@tuple @source [$source:expr] @kinds [$($kinds:tt)*] @current [$($curr:tt)*] @hint [$var:tt] @rest, $($rest:tt)*) => { ... };
    (@tuple @source [$source:expr] @kinds [$($kinds:tt)*] @current [$($curr:tt)*] @hint [$var:tt] @rest $tt:tt $($rest:tt)*) => { ... };
    (@source [$source:expr] @kind [] @hint [$var:tt]) => { ... };
    (@source [$source:expr] @kind [$kind:ty] @hint [$var:tt]) => { ... };
}