pub struct StructureItem {
pub kind: String,
pub kind_label: String,
pub name: String,
pub detail: Option<String>,
pub visible: Option<bool>,
pub elements: Vec<PickedElement>,
}Expand description
An entry of the structure of the part drawn, by name: what
Drawer::structure lists.
Fields§
§kind: StringWhat it is: datum, sketch, solid, face, part, or what a
step lists it as.
kind_label: StringWhat a list calls the things of its kind: Datums.
name: StringWhat it is shown by — and shown and hidden by, its key.
detail: Option<String>What is said beside its name, quieter: the file a placed part is
from, iso4762_socket_screw. Its name is what it is called.
visible: Option<bool>Whether it is shown, if it is drawn at all: what an editor’s visibility switches. None for what a step lists, which is not drawn.
elements: Vec<PickedElement>What it refers to: the elements a mate is between, lit while it is pointed at.
Implementations§
Trait Implementations§
Source§impl Clone for StructureItem
impl Clone for StructureItem
Source§fn clone(&self) -> StructureItem
fn clone(&self) -> StructureItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StructureItem
impl Debug for StructureItem
Source§impl PartialEq for StructureItem
impl PartialEq for StructureItem
Source§impl Serialize for StructureItem
impl Serialize for StructureItem
impl StructuralPartialEq for StructureItem
Auto Trait Implementations§
impl Freeze for StructureItem
impl RefUnwindSafe for StructureItem
impl Send for StructureItem
impl Sync for StructureItem
impl Unpin for StructureItem
impl UnsafeUnpin for StructureItem
impl UnwindSafe for StructureItem
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