#[repr(C)]pub struct b3CompoundCapsule {
pub capsule: b3Capsule,
pub materialIndex: c_int,
}Expand description
A capsule that lives in a compound.
Fields§
§capsule: b3CapsuleLocal capsule.
materialIndex: c_intIndex to a shared material.
Trait Implementations§
Source§impl Clone for b3CompoundCapsule
impl Clone for b3CompoundCapsule
Source§fn clone(&self) -> b3CompoundCapsule
fn clone(&self) -> b3CompoundCapsule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for b3CompoundCapsule
Auto Trait Implementations§
impl Freeze for b3CompoundCapsule
impl RefUnwindSafe for b3CompoundCapsule
impl Send for b3CompoundCapsule
impl Sync for b3CompoundCapsule
impl Unpin for b3CompoundCapsule
impl UnsafeUnpin for b3CompoundCapsule
impl UnwindSafe for b3CompoundCapsule
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