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

Method name

src/traits.rs:35–37  ·  view source on GitHub ↗

Get the name of this flag. If the flag is unnamed then the returned string will be empty. */

(&self)

Source from the content-addressed store, hash-verified

33 If the flag is unnamed then the returned string will be empty.
34 */
35 pub const fn name(&self) -> &'static str {
36 self.name
37 }
38
39 /**
40 Get the flags value of this flag.

Callers 5

all_namedMethod · 0.80
from_nameMethod · 0.80
nextMethod · 0.80
casesFunction · 0.80
casesFunction · 0.80

Calls

no outgoing calls

Tested by 2

casesFunction · 0.64
casesFunction · 0.64