pub(crate) fn read_shape<P: GeomProcessor, T: Read>(
    processor: &mut P,
    mut source: &mut T,
) -> Result<RecordHeader, Error> {
    let hdr = RecordHeader::read_from(&mut source)?;
    let record_size = hdr.record_size * 2;
    read_shape_rec(processor, &mut source, record_size as usize)?;
    Ok(hdr)
}
/// Read and process one shape record
Read and process one shape record
Read and process one shape record
pub(crate) fn read_shape<P: GeomProcessor, T: Read>(
    processor: &mut P,
    mut source: &mut T,
) -> Result<RecordHeader, Error> {
    let hdr = RecordHeader::read_from(&mut source)?;
    let record_size = hdr.record_size * 2;
    read_shape_rec(processor, &mut source, record_size as usize)?;
    Ok(hdr)
}
pub ( crate ) fn read_shape < P : GeomProcessor , T : Read > ( processor : & mut P , mut source : & mut T , ) -> Result < RecordHeader , Error > { let hdr = RecordHeader :: read_from ( & mut source ) ? ; let record_size = hdr . record_size * 2 ; read_shape_rec ( processor , & mut source , record_size as usize ) ? ; Ok ( hdr ) }
Read and process one shape record
Read and process one shape record
processor
&mut P
source
&mut T
processor
&mut P
source
&mut T