pub struct SwComponent {
pub name: String,
pub path: String,
pub file_name: String,
pub assembly: bool,
pub configuration: u32,
pub configuration_name: String,
pub transform: Mat4,
pub suppressed: bool,
}Expand description
One instance an assembly places.
Fields§
§name: StringThe instance’s name in the assembly.
path: StringThe file it uses, as the assembly stored it (often an absolute Windows path), and that file’s base name.
file_name: String§assembly: boolWhether the file is a sub-assembly.
configuration: u32The configuration the instance uses: its index (Config-N) and name.
configuration_name: String§transform: Mat4Where the instance goes: row-major 4×4, mm.
suppressed: boolTrait Implementations§
Source§impl Clone for SwComponent
impl Clone for SwComponent
Source§impl Debug for SwComponent
impl Debug for SwComponent
Source§impl PartialEq for SwComponent
impl PartialEq for SwComponent
impl StructuralPartialEq for SwComponent
Auto Trait Implementations§
impl Forget for SwComponent
impl Freeze for SwComponent
impl Move for SwComponent
impl RefUnwindSafe for SwComponent
impl Send for SwComponent
impl Sync for SwComponent
impl Unpin for SwComponent
impl UnsafeUnpin for SwComponent
impl UnwindSafe for SwComponent
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