pub struct Feature;Expand description
What a step did by combining tools with a solid — a cut, a boss, a hole
— as an element of the model: named by the step, and picked by a face
it made (see FeatureFaces), lit as every face of it that is left. A
feature of a part placed in the part is picked as one of that part,
behind its instance.
Trait Implementations§
Source§impl Kind for FeatureElement
impl Kind for FeatureElement
Source§impl SelectableElement<NamedModel> for FeatureElement
impl SelectableElement<NamedModel> for FeatureElement
Source§const PICKED_FROM: &'static [&'static str]
const PICKED_FROM: &'static [&'static str]
The kinds of what an editor draws that a click picks one from (see
crate::editing::hit::Scene::pick): its own kind, for an element
drawn as itself.Source§fn select(
reader: &Reader<'_>,
hit: &PickedElement,
) -> Option<ElementReference<NamedModel, FeatureElement>>
fn select( reader: &Reader<'_>, hit: &PickedElement, ) -> Option<ElementReference<NamedModel, FeatureElement>>
The element a click on
hit, of one of Self::PICKED_FROM,
selects, read through reader: hit itself, for an element drawn
as itself; none, for a hit that selects none.Source§fn drawn(
reader: &Reader<'_>,
feature: &ElementReference<NamedModel, FeatureElement>,
) -> Vec<PickedElement>
fn drawn( reader: &Reader<'_>, feature: &ElementReference<NamedModel, FeatureElement>, ) -> Vec<PickedElement>
What an editor draws of
element, to light while it is selected:
the element itself, by default.Auto Trait Implementations§
impl Freeze for FeatureElement
impl RefUnwindSafe for FeatureElement
impl Send for FeatureElement
impl Sync for FeatureElement
impl Unpin for FeatureElement
impl UnsafeUnpin for FeatureElement
impl UnwindSafe for FeatureElement
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