pub struct ComponentInfo {
pub id: String,
pub part_name: String,
pub translate: [f64; 3],
pub rotate_deg: [f64; 3],
pub fixed: bool,
pub members: Vec<String>,
}Expand description
One assembly component instance as the APP sees it: the owning ACOMP feature
id, the parts-library part name, the authored rigid pose (inputParams. transform — {translate, rotateEulerDeg}, intrinsic-XYZ degrees), the
grounded flag, and the member solid names currently in the display scene.
Fields§
§id: StringThe owning ACOMP feature id (ACOMP<digits>) — also the namespace prefix.
part_name: StringThe parts-library entry this instance places (inputParams.partName).
translate: [f64; 3]inputParams.transform.translate (numbers-or-zero: an expression-valued
slot reads 0 here, matching the transform gizmo’s numeric read).
rotate_deg: [f64; 3]inputParams.transform.rotateEulerDeg (degrees, intrinsic XYZ).
fixed: boolGrounded: an explicit isFixed wins; ABSENT mirrors the kernel’s
auto-ground rule (grounded iff no ACOMP precedes it in the history).
members: Vec<String>Member solid names in display-scene order ({id}:{part solid name}).
Empty when the instance is rolled back / failed to build.
Trait Implementations§
Source§impl Clone for ComponentInfo
impl Clone for ComponentInfo
Source§fn clone(&self) -> ComponentInfo
fn clone(&self) -> ComponentInfo
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ComponentInfo
impl Debug for ComponentInfo
Source§impl PartialEq for ComponentInfo
impl PartialEq for ComponentInfo
impl StructuralPartialEq for ComponentInfo
Auto Trait Implementations§
impl Freeze for ComponentInfo
impl RefUnwindSafe for ComponentInfo
impl Send for ComponentInfo
impl Sync for ComponentInfo
impl Unpin for ComponentInfo
impl UnsafeUnpin for ComponentInfo
impl UnwindSafe for ComponentInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more