Struct dxf::Block [] [src]

pub struct Block {
    pub handle: u32,
    pub layer: String,
    pub name: String,
    pub flags: i32,
    pub base_point: Point,
    pub xref_path_name: String,
    pub description: String,
    pub is_in_paperspace: bool,
    pub entities: Vec<Entity>,
    pub extension_data_groups: Vec<ExtensionGroup>,
    pub x_data: Vec<XData>,
    // some fields omitted
}

A block is a collection of entities.

Fields

The block's handle.

The name of the layer containing the block.

The name of the block.

Block-type flags.

The block's base insertion point.

The path name of the XREF.

The block's description.

If the block is in PAPERSPACE or not.

The entities contained by the block.

Extension data groups.

XData.

Methods

impl Block
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Ensure all values are valid.

Trait Implementations

impl Clone for Block
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Block
[src]

[src]

Returns the "default value" for a type. Read more