MCPcopy Create free account
hub / github.com/bitflags/bitflags / from

Method from

tests/compile-pass/impl_convert_from_bits.rs:10–12  ·  view source on GitHub ↗
(v: u32)

Source from the content-addressed store, hash-verified

8
9impl From<u32> for Flags {
10 fn from(v: u32) -> Flags {
11 Flags::from_bits_truncate(v)
12 }
13}
14
15fn main() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected