pub struct SketchDrawer;Expand description
Draws a part’s sketches, each as the target it is, and lists them.
Trait Implementations§
Source§impl Drawer for SketchDrawer
impl Drawer for SketchDrawer
Source§fn draw(&self, reader: &Reader<'_>, view: &mut PartView) -> GeopResult<()>
fn draw(&self, reader: &Reader<'_>, view: &mut PartView) -> GeopResult<()>
Draws what of the part
reader reads is this crate’s into view.Source§fn structure(&self, reader: &Reader<'_>) -> GeopResult<Vec<StructureItem>>
fn structure(&self, reader: &Reader<'_>) -> GeopResult<Vec<StructureItem>>
What of the part is this crate’s, to list: each drawn item shown
(
visible: Some(true)) — the editor hides what is hidden — and
each one that is not drawn with visible: None.The names of what it draws only to be picked: shown only while a
field waiting for a pick could pick it (see
crate::editing::Reference::accepts) — none, unless it says
otherwise.Source§fn kept(&self) -> bool
fn kept(&self) -> bool
Whether what it draws is kept between processes, as what a program
builds is (see
geop_core_program::kept): for a drawer whose
drawing takes work — the model’s, which meshes its faces — so that a
program reopened is drawn without that work. Not, unless it says so.Auto Trait Implementations§
impl Freeze for SketchDrawer
impl RefUnwindSafe for SketchDrawer
impl Send for SketchDrawer
impl Sync for SketchDrawer
impl Unpin for SketchDrawer
impl UnsafeUnpin for SketchDrawer
impl UnwindSafe for SketchDrawer
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