We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6be1b83 commit 636e4d5Copy full SHA for 636e4d5
capnp/src/traits.rs
@@ -34,6 +34,7 @@ pub trait HasStructSize {
34
const STRUCT_SIZE: StructSize;
35
}
36
37
+/// Trait for all types that can be converted to a low-level `StructReader`.
38
pub trait IntoInternalStructReader<'a> {
39
fn into_internal_struct_reader(self) -> StructReader<'a>;
40
@@ -42,6 +43,7 @@ pub trait FromStructBuilder<'a> {
42
43
fn new(struct_builder: StructBuilder<'a>) -> Self;
44
45
46
+/// Trait for all types that can be converted to a low-level `ListReader`.
47
pub trait IntoInternalListReader<'a> {
48
fn into_internal_list_reader(self) -> ListReader<'a>;
49
0 commit comments