Struct dxf::LineWeight
[−]
[src]
pub struct LineWeight { /* fields omitted */ }
Represents a line weight.
Methods
impl LineWeight
[src]
fn by_block() -> LineWeight
[src]
Creates a new LineWeight
that defaults back to the containing block's line weight.
fn by_layer() -> LineWeight
[src]
Creates a new LineWeight
that defaults back to the item's layer's line weight.
fn get_raw_value(&self) -> i16
[src]
Gets the raw value of the LineWeight
.
fn is_by_block(&self) -> bool
[src]
Returns true
if the LineWeight
is BYBLOCK.
fn is_by_layer(&self) -> bool
[src]
Returns true
if the LineWeight
is BYLAYER.
Trait Implementations
impl Clone for LineWeight
[src]
fn clone(&self) -> LineWeight
[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
impl Debug for LineWeight
[src]
impl Default for LineWeight
[src]
fn default() -> LineWeight
[src]
Returns the "default value" for a type. Read more
impl PartialEq for LineWeight
[src]
fn eq(&self, __arg_0: &LineWeight) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LineWeight) -> bool
[src]
This method tests for !=
.