pub struct BoneInfo(/* private fields */);Expand description
Bone, skeletal animation bone
Implementations§
Source§impl BoneInfo
impl BoneInfo
Sourcepub unsafe fn from_raw(raw: BoneInfo) -> Self
pub unsafe fn from_raw(raw: BoneInfo) -> Self
converts raylib-sys object to a “safe” version. Make sure to call this function from the thread the resource was created.
§Safety
The caller must ensure raw is a valid, fully initialized raylib object
obtained from a raylib load function. Ownership is transferred to the
returned wrapper, which will call the appropriate unload function on drop.
Trait Implementations§
Source§impl AsRawMut<BoneInfo> for BoneInfo
impl AsRawMut<BoneInfo> for BoneInfo
Source§unsafe fn as_raw_mut(&mut self) -> &mut BoneInfo
unsafe fn as_raw_mut(&mut self) -> &mut BoneInfo
Mutable access to the wrapped raw FFI value. Read more
Auto Trait Implementations§
impl Freeze for BoneInfo
impl RefUnwindSafe for BoneInfo
impl Send for BoneInfo
impl Sync for BoneInfo
impl Unpin for BoneInfo
impl UnsafeUnpin for BoneInfo
impl UnwindSafe for BoneInfo
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