pub struct Display {
pub visibility: BTreeMap<String, bool>,
pub colors: BTreeMap<String, String>,
pub isolated: BTreeSet<String>,
}Expand description
How what a program builds is shown, as the user chose, over what an editor shows by itself: a display state, saved with the program as the camera is not. Nothing a run reads: it builds the same part however it is shown.
Fields§
§visibility: BTreeMap<String, bool>What is shown or hidden — a datum, a sketch, a solid, a placed part — by name.
colors: BTreeMap<String, String>The colours placed parts are drawn in over their own, #rrggbb, by
the instance’s path: bolt, asm/bolt.
isolated: BTreeSet<String>The placed parts shown alone, if any: with the parts placed in them and those they are placed in.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Display
impl<'de> Deserialize<'de> for Display
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Display
Auto Trait Implementations§
impl Freeze for Display
impl RefUnwindSafe for Display
impl Send for Display
impl Sync for Display
impl Unpin for Display
impl UnsafeUnpin for Display
impl UnwindSafe for Display
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