Trait rusty_spine::c_interface::NewFromPtr

source ·
pub trait NewFromPtr<C> {
    // Required method
    unsafe fn new_from_ptr(c_ptr: *mut C) -> Self;
}
Expand description

Create a type from its underlying spine-c pointer type.

Required Methods§

source

unsafe fn new_from_ptr(c_ptr: *mut C) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl NewFromPtr<spAnimation> for Animation

source§

impl NewFromPtr<spAnimationState> for AnimationState

source§

impl NewFromPtr<spAnimationStateData> for AnimationStateData

source§

impl NewFromPtr<spAtlas> for Atlas

source§

impl NewFromPtr<spAtlasPage> for AtlasPage

source§

impl NewFromPtr<spAtlasRegion> for AtlasRegion

source§

impl NewFromPtr<spAttachment> for Attachment

source§

impl NewFromPtr<spAttachmentLoader> for AttachmentLoader

source§

impl NewFromPtr<spBone> for Bone

source§

impl NewFromPtr<spBoneData> for BoneData

source§

impl NewFromPtr<spBoundingBoxAttachment> for BoundingBoxAttachment

source§

impl NewFromPtr<spClippingAttachment> for ClippingAttachment

source§

impl NewFromPtr<spEvent> for Event

source§

impl NewFromPtr<spEventData> for EventData

source§

impl NewFromPtr<spIkConstraint> for IkConstraint

source§

impl NewFromPtr<spIkConstraintData> for IkConstraintData

source§

impl NewFromPtr<spMeshAttachment> for MeshAttachment

source§

impl NewFromPtr<spPathAttachment> for PathAttachment

source§

impl NewFromPtr<spPathConstraint> for PathConstraint

source§

impl NewFromPtr<spPathConstraintData> for PathConstraintData

source§

impl NewFromPtr<spPhysicsConstraint> for PhysicsConstraint

source§

impl NewFromPtr<spPhysicsConstraintData> for PhysicsConstraintData

source§

impl NewFromPtr<spPointAttachment> for PointAttachment

source§

impl NewFromPtr<spSkeletonData> for SkeletonData

source§

impl NewFromPtr<spSkin> for Skin

source§

impl NewFromPtr<spSlot> for Slot

source§

impl NewFromPtr<spSlotData> for SlotData

source§

impl NewFromPtr<spTextureRegion> for TextureRegion

source§

impl NewFromPtr<spTrackEntry> for TrackEntry

source§

impl NewFromPtr<spTransformConstraint> for TransformConstraint

source§

impl NewFromPtr<spTransformConstraintData> for TransformConstraintData