Struct dxf::entities::Entity
[−]
[src]
pub struct Entity { pub common: EntityCommon, pub specific: EntityType, }
Fields
common: EntityCommon
specific: EntityType
Methods
impl Entity
[src]
fn new(specific: EntityType) -> Self
Creates a new Entity
with the default common values.
fn normalize(&mut self)
Ensures all entity values are valid.
Trait Implementations
impl Clone for Entity
[src]
fn clone(&self) -> Entity
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more