pub struct PlacedPart {
pub part: Rc<Part>,
pub location: Location,
}Expand description
A placed part, as built: shared by every instance built alike — and where its program is, which an editor edits it in.
Fields§
§part: Rc<Part>§location: LocationTrait Implementations§
Source§impl Clone for PlacedPart
impl Clone for PlacedPart
Source§fn clone(&self) -> PlacedPart
fn clone(&self) -> PlacedPart
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 PartialEq for PlacedPart
The same build, or builds holding the same.
impl PartialEq for PlacedPart
The same build, or builds holding the same.
Source§impl Target for PlacedPart
impl Target for PlacedPart
Source§const CHAIN: bool = false
const CHAIN: bool = false
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 !RefUnwindSafe for PlacedPart
impl !Send for PlacedPart
impl !Sync for PlacedPart
impl !UnwindSafe for PlacedPart
impl Freeze for PlacedPart
impl Unpin for PlacedPart
impl UnsafeUnpin for PlacedPart
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