pub struct DatumsDrawer;Expand description
Draws a part’s datums, the origin first, and lists them.
Trait Implementations§
Source§impl Drawer for DatumsDrawer
impl Drawer for DatumsDrawer
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 DatumsDrawer
impl RefUnwindSafe for DatumsDrawer
impl Send for DatumsDrawer
impl Sync for DatumsDrawer
impl Unpin for DatumsDrawer
impl UnsafeUnpin for DatumsDrawer
impl UnwindSafe for DatumsDrawer
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