#[non_exhaustive]pub struct Common {
pub kind: Name,
pub handle: u64,
pub layer: Name,
pub linetype: Linetype,
pub color: Color,
pub lineweight: Lineweight,
pub ltscale: f64,
pub transparency: Transparency,
pub extrusion: P3,
pub thickness: f64,
pub invisible: bool,
pub paper: bool,
}Expand description
what every entity has
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: Namethe entity’s kind as the file names it (LINE, LWPOLYLINE, …)
handle: u645 (0: none)
layer: Name8 (the layer “0” when absent)
linetype: Linetype§color: Color§lineweight: Lineweight§ltscale: f6448 (1 when absent)
transparency: Transparency§extrusion: P3210 (0, 0, 1 when absent): the normal of the entity’s object coordinate system (OCS)
thickness: f6439
invisible: bool60 = 1
paper: bool67 = 1: in paper space
Trait Implementations§
impl Copy for Common
impl StructuralPartialEq for Common
Auto Trait Implementations§
impl Forget for Common
impl Freeze for Common
impl Move for Common
impl RefUnwindSafe for Common
impl Send for Common
impl Sync for Common
impl Unpin for Common
impl UnsafeUnpin for Common
impl UnwindSafe for Common
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more