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

Method is_unnamed

src/traits.rs:60–62  ·  view source on GitHub ↗

Whether the flag is unnamed. If [`Flag::name`] returns a non-empty string then this method will return `false`. */

(&self)

Source from the content-addressed store, hash-verified

58 If [`Flag::name`] returns a non-empty string then this method will return `false`.
59 */
60 pub const fn is_unnamed(&self) -> bool {
61 self.name.is_empty()
62 }
63}
64
65/**

Callers

nothing calls this directly

Calls 1

is_emptyMethod · 0.80

Tested by

no test coverage detected