#[non_exhaustive]pub struct Layer {
pub visible: bool,
pub order: i32,
pub transparency: u32,
}Expand description
a layer’s settings. Made with new and changed field by field (it may grow)
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.visible: bool§order: i32layers are drawn by this, lowest first; equal ones in the order they were added
transparency: u32AutoCAD’s transparency of the entities whose style says Transparency::ByLayer (percent, 0 to TRANSPARENCY_MAX; G6b2): changing it sends no records
Implementations§
Trait Implementations§
impl Copy for Layer
impl Eq for Layer
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Forget for Layer
impl Freeze for Layer
impl Move for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnsafeUnpin for Layer
impl UnwindSafe for Layer
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