[−][src]Trait soak::Columns
Layout metadata required to use a struct in a RawTable
.
This trait should not normally be implemented by hand. Instead, use #[derive(Columns)]
- this
will safely generate the appropriate trait impl as well as associated const Field
s.
Safety
SIZES
andALIGNS
must accurately describeSelf
's fields.Pointers
must be a fixed-size array matchingSIZES
andALIGNS
in length.dangling()
must containptr::NonNull::dangling()
.
Associated Types
Loading content...Associated Constants
const SIZES: &'static [usize]
The sizes of individual struct elements.
const ALIGNS: &'static [usize]
The alignments of individual struct elements.