pub struct ModelDrawer { /* private fields */ }Expand description
Draws a part’s model, as the target model, and lists its solids and
the faces standing on their own, of no solid. Its faces are meshed by
one Rasterizer: a part drawn with only some faces changed — the part
before a step opened — meshes those again, not all.
Trait Implementations§
Source§impl Default for ModelDrawer
impl Default for ModelDrawer
Source§fn default() -> ModelDrawer
fn default() -> ModelDrawer
Returns the “default value” for a type. Read more
Source§impl Drawer for ModelDrawer
impl Drawer for ModelDrawer
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.Auto Trait Implementations§
impl !Freeze for ModelDrawer
impl !RefUnwindSafe for ModelDrawer
impl !Sync for ModelDrawer
impl Send for ModelDrawer
impl Unpin for ModelDrawer
impl UnsafeUnpin for ModelDrawer
impl UnwindSafe for ModelDrawer
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