Struct PosedPart
#[non_exhaustive]pub struct PosedPart {
pub part: HumanoidPart,
pub pose: PartPose,
pub visible: bool,
}Expand description
One humanoid part as posed this frame: its pose relative to its parent, and whether it draws
(ModelPart.visible as the body drew it: after Skin Customization and the parts
player_submit hid).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.part: HumanoidPartWhich part it is.
pose: PartPoseIts pose relative to its parent.
visible: boolWhether it draws.
Trait Implementations§
impl Copy for PosedPart
impl StructuralPartialEq for PosedPart
Auto Trait Implementations§
impl Freeze for PosedPart
impl RefUnwindSafe for PosedPart
impl Send for PosedPart
impl Sync for PosedPart
impl Unpin for PosedPart
impl UnsafeUnpin for PosedPart
impl UnwindSafe for PosedPart
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