Struct libliquidfun_sys::box2d::ffi::b2ParticleColor
source · #[repr(C)]pub struct b2ParticleColor {
pub r: uint8,
pub g: uint8,
pub b: uint8,
pub a: uint8,
}Expand description
Small color object for each particle
Fields§
§r: uint8§g: uint8§b: uint8§a: uint8Trait Implementations§
source§impl ExternType for b2ParticleColor
impl ExternType for b2ParticleColor
source§impl MakeCppStorage for b2ParticleColor
impl MakeCppStorage for b2ParticleColor
source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut b2ParticleColor
unsafe fn allocate_uninitialized_cpp_storage() -> *mut b2ParticleColor
Allocates heap space for this type in C++ and return a pointer
to that space, but do not initialize that space (i.e. do not
yet call a constructor). Read more
source§unsafe fn free_uninitialized_cpp_storage(arg0: *mut b2ParticleColor)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut b2ParticleColor)
Frees a C++ allocation which has not yet
had a constructor called. Read more
impl UniquePtrTarget for b2ParticleColor
impl WeakPtrTarget for b2ParticleColor
Auto Trait Implementations§
impl RefUnwindSafe for b2ParticleColor
impl Send for b2ParticleColor
impl Sync for b2ParticleColor
impl Unpin for b2ParticleColor
impl UnwindSafe for b2ParticleColor
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