Trait alignment_exporter::AlignmentExporter

source ·
pub trait AlignmentExporter {
    // Required method
    fn get_alignment() -> &'static [Alignment];
}
Expand description

Any type that uses the procedural macro automatically has this trait implemented for it. Use AlignmentExporter::get_alignment to get the alignment information of a struct.

Required Methods§

source

fn get_alignment() -> &'static [Alignment]

Get the alignment of a struct.

Object Safety§

This trait is not object safe.

Implementors§