pub struct SubFileRefCmd {
pub color: u32,
pub pos: Vec3,
pub row0: Vec3,
pub row1: Vec3,
pub row2: Vec3,
pub file: SubFileRef,
}Expand description
Line Type 1 LDraw command: Reference a sub-file from the current file.
Fields§
§color: u32Color code of the part.
pos: Vec3Position.
row0: Vec3First row of rotation+scaling matrix part.
row1: Vec3Second row of rotation+scaling matrix part.
row2: Vec3Third row of rotation+scaling matrix part.
file: SubFileRefReferenced sub-file.
Trait Implementations§
Source§impl Debug for SubFileRefCmd
impl Debug for SubFileRefCmd
Source§impl PartialEq for SubFileRefCmd
impl PartialEq for SubFileRefCmd
impl StructuralPartialEq for SubFileRefCmd
Auto Trait Implementations§
impl Freeze for SubFileRefCmd
impl RefUnwindSafe for SubFileRefCmd
impl Send for SubFileRefCmd
impl Sync for SubFileRefCmd
impl Unpin for SubFileRefCmd
impl UnwindSafe for SubFileRefCmd
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