pub struct AssemblyDrawer;Expand description
Draws the parts placed in a part, however deep, each as an instance of
its component where the state has it (see [draw_instances]), and lists
them all, however deep, by their paths.
Trait Implementations§
Source§impl Drawer for AssemblyDrawer
impl Drawer for AssemblyDrawer
Source§fn structure(&self, reader: &Reader<'_>) -> GeopResult<Vec<StructureItem>>
fn structure(&self, reader: &Reader<'_>) -> GeopResult<Vec<StructureItem>>
Each part placed in it, however deep — each before those placed in
it, by its path, neck/head — said beside it which file it is from,
unless its name says so already.
The datums of the parts placed: theirs, not the part’s, shown only while a field waits to pick one — a mate’s entities.
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 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 AssemblyDrawer
impl RefUnwindSafe for AssemblyDrawer
impl Send for AssemblyDrawer
impl Sync for AssemblyDrawer
impl Unpin for AssemblyDrawer
impl UnsafeUnpin for AssemblyDrawer
impl UnwindSafe for AssemblyDrawer
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