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

Method serialize_unit

src/ser.rs:361–363  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

359 }
360
361 fn serialize_unit(self) -> Result<Bound<'py, PyAny>> {
362 self.serialize_none()
363 }
364
365 fn serialize_unit_struct(self, _name: &'static str) -> Result<Bound<'py, PyAny>> {
366 self.serialize_none()

Callers

nothing calls this directly

Calls 1

serialize_noneMethod · 0.80

Tested by

no test coverage detected