MCPcopy Create free account
hub / github.com/SoftbearStudios/bitcode / Encode

Interface Encode

src/derive/mod.rs:31–34  ·  view source on GitHub ↗

A type which can be encoded to bytes with [`encode`]. Use `#[derive(Encode)]` to implement.

Source from the content-addressed store, hash-verified

29///
30/// Use `#[derive(Encode)]` to implement.
31pub trait Encode {
32 #[doc(hidden)]
33 type Encoder: Encoder<Self>;
34}
35
36/// A type which can be decoded from bytes with [`decode`].
37///

Callers

nothing calls this directly

Implementers 3

u8_char.rssrc/u8_char.rs
arrayvec.rssrc/ext/arrayvec.rs
impls.rssrc/derive/impls.rs

Calls

no outgoing calls

Tested by

no test coverage detected