Skip to content

std::as_unsafe<To, From>

as_unsafe<To, From>

Performs an unsafe cast from one type to another

Signature

fn <To, From> as_unsafe(value: From) -> To;

Specifiers

  • constexpr