Struct dxf::Class
[−]
[src]
pub struct Class { pub record_name: String, pub class_name: String, pub application_name: String, pub version_number: i32, pub proxy_capability_flags: i32, pub instance_count: usize, pub was_class_loaded_with_file: bool, pub is_entity: bool, }
Represents an application-defined class whose instances are Block
s, Entity
s, and Object
s.
Fields
record_name: String
Class DXF record name.
class_name: String
C++ class name. Used to bind with software that defines object class behavior.
application_name: String
Application name.
version_number: i32
The class's version number.
proxy_capability_flags: i32
Indicates the capabilities of this object as a proxy.
instance_count: usize
Number of instances of this class.
was_class_loaded_with_file: bool
Was the class loaded with the file.
is_entity: bool
Is class derived from the AcDbEntity
class.
Methods
impl Class
[src]
fn get_is_erase_allowed(&self) -> bool
[src]
fn set_is_erase_allowed(&mut self, val: bool)
[src]
fn get_is_transform_allowed(&self) -> bool
[src]
fn set_is_transform_allowed(&mut self, val: bool)
[src]
fn get_is_color_change_allowed(&self) -> bool
[src]
fn set_is_color_change_allowed(&mut self, val: bool)
[src]
fn get_is_layer_change_allowed(&self) -> bool
[src]
fn set_is_layer_change_allowed(&mut self, val: bool)
[src]
fn get_is_line_type_change_allowed(&self) -> bool
[src]
fn set_is_line_type_change_allowed(&mut self, val: bool)
[src]
fn get_is_line_type_scale_change_allowed(&self) -> bool
[src]
fn set_is_line_type_scale_change_allowed(&mut self, val: bool)
[src]
fn get_is_visibility_change_allowed(&self) -> bool
[src]
fn set_is_visibility_change_allowed(&mut self, val: bool)
[src]
fn get_is_clone_allowed(&self) -> bool
[src]
fn set_is_clone_allowed(&mut self, val: bool)
[src]
fn get_is_lineweight_change_allowed(&self) -> bool
[src]
fn set_is_lineweight_change_allowed(&mut self, val: bool)
[src]
fn get_is_plot_style_name_change_allowed(&self) -> bool
[src]
fn set_is_plot_style_name_change_allowed(&mut self, val: bool)
[src]
fn get_is_R13_format_proxy(&self) -> bool
[src]
fn set_is_R13_format_proxy(&mut self, val: bool)
[src]
Trait Implementations
impl Clone for Class
[src]
fn clone(&self) -> Class
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more