pub struct Explosion {
pub parts: Vec<String>,
pub motion: Pose,
}Expand description
One move of an explode sequence: the placed parts it moves, by their paths — a part placed in one of them moves with it — and the motion it moves them by, in the frame of the part they are placed in, after every move before it.
Fields§
§parts: Vec<String>§motion: PoseImplementations§
Trait Implementations§
Source§impl HasElements<Explosion> for Explosion
impl HasElements<Explosion> for Explosion
Source§type Element<'a> = &'a Explosion
type Element<'a> = &'a Explosion
What an element resolves to: a borrow of it, or what it gives.
Source§fn element(&self, name: &str) -> GeopResult<&Explosion>
fn element(&self, name: &str) -> GeopResult<&Explosion>
The element
name, or why there is none.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.impl StructuralPartialEq for Explosion
Source§impl Target for Explosion
Each explode step’s own.
impl Target for Explosion
Each explode step’s own.
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 Freeze for Explosion
impl RefUnwindSafe for Explosion
impl Send for Explosion
impl Sync for Explosion
impl Unpin for Explosion
impl UnsafeUnpin for Explosion
impl UnwindSafe for Explosion
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