pub struct SolidNotes(/* private fields */);Expand description
What the steps of a part said of its solids, by the solids’ names: the
value of its target solid_notes, which every step that says
something of a solid it built revises.
Implementations§
Source§impl SolidNotes
impl SolidNotes
Sourcepub fn note_mut(&mut self, solid: impl Into<String>) -> &mut SolidNote
pub fn note_mut(&mut self, solid: impl Into<String>) -> &mut SolidNote
The note on the solid solid, made empty if there is none yet.
Sourcepub fn remove(&mut self, solid: &str)
pub fn remove(&mut self, solid: &str)
Forgets the note on the solid solid: one a step consumed.
Trait Implementations§
Source§impl Clone for SolidNotes
impl Clone for SolidNotes
Source§fn clone(&self) -> SolidNotes
fn clone(&self) -> SolidNotes
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 SolidNotes
impl Debug for SolidNotes
Source§impl Default for SolidNotes
impl Default for SolidNotes
Source§fn default() -> SolidNotes
fn default() -> SolidNotes
Returns the “default value” for a type. Read more
Source§impl HasElements<SolidNotes> for SolidNotes
impl HasElements<SolidNotes> for SolidNotes
Source§const SINGLETON: Option<&'static str>
const SINGLETON: Option<&'static str>
The name of the one target of this type a part has, if it has only
one — the topology, say: a reference into it is saved as the
element’s name alone.
Source§type Element<'a> = &'a SolidNotes
type Element<'a> = &'a SolidNotes
What an element resolves to: a borrow of it, or what it gives.
Source§fn element(&self, name: &str) -> GeopResult<&SolidNotes>
fn element(&self, name: &str) -> GeopResult<&SolidNotes>
The element
name, or why there is none.Source§fn undefined() -> Option<&'static Self>
fn undefined() -> Option<&'static Self>
What the target reads as where no step made it, if it reads as
anything then — the datums every part starts with. None by default:
reading it fails.
Source§fn names_target(name: &str) -> bool
fn names_target(name: &str) -> bool
Whether the target named
name could be one of this type: what
tells a pick of an element of it from one of a target of another
type with elements of the same kind (ElementReference::from_picked).
The singleton’s name, for a singleton; any name, by default.Source§impl Kind for SolidNotes
Read whole.
impl Kind for SolidNotes
Read whole.
Source§impl PartialEq for SolidNotes
impl PartialEq for SolidNotes
impl StructuralPartialEq for SolidNotes
Source§impl Target for SolidNotes
Every step that says something of a solid adds to them.
impl Target for SolidNotes
Every step that says something of a solid adds to them.
Source§const CHAIN: bool = true
const CHAIN: bool = true
Whether several steps may produce a target of this type, each from
what the steps before left (see
crate::reader::Reader::previous):
the model, the datums, the parameters’ values, the listings — what
a program accumulates. A target that is not a chain — a sketch, a
placed part — has one producer, and a second is an error naming
both.Auto Trait Implementations§
impl Freeze for SolidNotes
impl RefUnwindSafe for SolidNotes
impl Send for SolidNotes
impl Sync for SolidNotes
impl Unpin for SolidNotes
impl UnsafeUnpin for SolidNotes
impl UnwindSafe for SolidNotes
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