MCPcopy Index your code
hub / github.com/davidhewitt/pythonize / serialize_bool

Method serialize_bool

src/ser.rs:286–288  ·  view source on GitHub ↗
(self, v: bool)

Source from the content-addressed store, hash-verified

284 type SerializeStructVariant = PythonStructVariantSerializer<'py, P>;
285
286 fn serialize_bool(self, v: bool) -> Result<Bound<'py, PyAny>> {
287 self.serialise_default(v)
288 }
289
290 fn serialize_i8(self, v: i8) -> Result<Bound<'py, PyAny>> {
291 self.serialise_default(v)

Callers

nothing calls this directly

Calls 1

serialise_defaultMethod · 0.80

Tested by

no test coverage detected