Skip to main content

Crate dxfscan

Crate dxfscan 

Source
Expand description

Binary DXF parser.

Parses binary DXF files from a &[u8] slice into typed entity data with lookup indices for layers, styles, blocks, and entity handles. Strings borrow directly from the input for zero-copy operation. no_std compatible (requires alloc).

Re-exports§

pub use block::Block;
pub use drawing::Drawing;
pub use entity::Entity;
pub use entity::EntityCommon;
pub use error::Error;
pub use point::Point3;
pub use reader::BinaryReader;
pub use scan::scan;

Modules§

block
Block definitions.
drawing
Top-level Drawing result type with lookup indices.
entity
Entity types and the Entity enum.
error
Parse errors.
point
Point3 type.
reader
Low-level binary DXF group code reader.
scan
Single-pass scanner that produces a Drawing.
table
LAYER and STYLE table entries. LAYER and STYLE table entry types.

Enums§

GroupValue
A parsed DXF group value, borrowing string/chunk data from the input slice.