rust / latest / std / prelude / v1 / macro.type_ascribe.html

Macro std::prelude::v1::type_ascribe

pub macro type_ascribe($expr:expr, $ty:ty) {
    ...
}
🔬This is a nightly-only experimental API. (type_ascription #23416)

Unstable placeholder for type ascription.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/prelude/v1/macro.type_ascribe.html