pub struct Socket {
pub id: SocketId,
pub name: String,
pub joint: JointId,
pub offset: Transform,
}Expand description
A named place on a joint where things attach (a hand’s grip, a sheath).
Fields§
§id: SocketId§name: StringThe source’s name: provenance, not identity.
joint: JointId§offset: TransformThe socket’s space in its joint’s: joint = M * socket.
Trait Implementations§
impl StructuralPartialEq for Socket
Auto Trait Implementations§
impl Forget for Socket
impl Freeze for Socket
impl RefUnwindSafe for Socket
impl Send for Socket
impl Sync for Socket
impl Unpin for Socket
impl UnsafeUnpin for Socket
impl UnwindSafe for Socket
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