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,