pub trait DataInitializerLike<'a> {
    type Location: DataInitializerLocationLike + Copy + 'a;

    // Required methods
    fn location(&self) -> Self::Location;
    fn data(&self) -> &'a [u8] ;
}
Expand description

Any struct that acts like a DataInitializer.

Required Associated Types§

Required Methods§

source

fn location(&self) -> Self::Location

source

fn data(&self) -> &'a [u8]

Implementors§