subspace_farmer_components::plotting

Trait RecordsEncoder

source
pub trait RecordsEncoder {
    // Required method
    fn encode_records(
        &mut self,
        sector_id: &SectorId,
        records: &mut [Record],
        abort_early: &AtomicBool,
    ) -> Result<SectorContentsMap>;
}
Expand description

Records encoder for plotting purposes

Required Methods§

source

fn encode_records( &mut self, sector_id: &SectorId, records: &mut [Record], abort_early: &AtomicBool, ) -> Result<SectorContentsMap>

Encode provided sector records

Implementors§

source§

impl<PosTable> RecordsEncoder for CpuRecordsEncoder<'_, PosTable>
where PosTable: Table,