[−][src]Crate dync
This crate defines a buffer data structure optimized to be written to and read from standard
Vecs.
VecCopy is particularly useful when dealing with plain data whose type is determined at
run time. Note that data is stored in the underlying byte buffers in native endian form, thus
requesting typed data from a buffer on a platform with different endianness is unsafe.
Caveats
VecCopy doesn't support zero-sized types.
Re-exports
pub use downcast_rs as downcast; |
pub use index_slice::*; |
Modules
| index_slice | |
| macros | Utility macros for code generation. |
| traits | This module defines the function pointers for supported traits from the standard library. |
Macros
| call_numeric_buffer_fn | Applies |
| from_dyn | Convert a given container with a dynamic vtable to a concrete type. |
| into_dyn | Convert a given container type (e.g. |
Structs
| CopyValueMut | A generic mutable |
| CopyValueRef | A generic value reference to a |
| Meta | Defines a meta struct containing information about a type but not the type itself. |
| SliceCopy | |
| SliceCopyMut | |
| SliceDrop | |
| SliceDropMut | |
| Value | |
| ValueMut | A generic mutable value reference into a buffer. |
| ValueRef | A generic value reference into a buffer. |
| VecCopy | Buffer of plain old data. The data is stored as an array of bytes ( |
| VecDrop |
Enums
| Error | |
| VTableRef | A VTable reference type. |
Traits
| CopyElem | |
| Elem | |
| GetBytes | |
| GetBytesMut | |
| GetBytesRef | |
| VTable |
|
Type Definitions
| BoxValue |
Attribute Macros
| dync_trait |