Skip to main content

dope_sys/memory/
mod.rs

1pub mod raw;
2
3pub mod buffer;
4mod cleanup;
5mod error;
6mod failure;
7pub use cleanup::Cleanup;
8pub use error::Error;
9pub use failure::Failure;
10
11/// The immutable layout retained by a native receive projection.
12pub trait Context {
13    type Layout: raw::Layout;
14
15    fn layout(&self) -> Self::Layout;
16}