Struct dxf::Block [−][src]
pub struct Block {
pub handle: Handle,
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
}
Expand description
A block is a collection of entities.
Fields
handle: Handle
The block’s handle.
layer: String
The name of the layer containing the block.
name: String
The name of the block.
flags: i32
Block-type flags.
base_point: Point
The block’s base insertion point.
xref_path_name: String
The path name of the XREF.
description: String
The block’s description.
is_in_paperspace: bool
If the block is in PAPERSPACE or not.
entities: Vec<Entity>
The entities contained by the block.
extension_data_groups: Vec<ExtensionGroup>
Extension data groups.
x_data: Vec<XData>
XData.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Block
impl UnwindSafe for Block
Blanket Implementations
Mutably borrows from an owned value. Read more