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

Class FlagsVisitor

src/external/serde.rs:43–43  ·  view source on GitHub ↗

Deserialize human-readable flags by parsing them from strings like `"A | B"`

Source from the content-addressed store, hash-verified

41 if deserializer.is_human_readable() {
42 // Deserialize human-readable flags by parsing them from strings like `"A | B"`
43 struct FlagsVisitor<B>(core::marker::PhantomData<B>);
44
45 impl<'de, B: Flags> Visitor<'de> for FlagsVisitor<B>
46 where

Callers 1

deserializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected