pub struct FfiTextureColor { /* private fields */ }Implementations§
Source§impl FfiTextureColor
impl FfiTextureColor
pub fn SetPixel( self: Pin<&mut Self>, x: u32, y: u32, r: u8, g: u8, b: u8, a: u8, )
pub fn GetPixelR(&self, x: u32, y: u32) -> u8
pub fn GetPixelG(&self, x: u32, y: u32) -> u8
pub fn GetPixelB(&self, x: u32, y: u32) -> u8
pub fn GetPixelA(&self, x: u32, y: u32) -> u8
pub fn inner<'a>(&'a self) -> &'a TextureColor
pub fn inner_mut<'a>(self: Pin<&'a mut Self>) -> Pin<&'a mut TextureColor>
Trait Implementations§
Source§impl Drop for FfiTextureColor
impl Drop for FfiTextureColor
Source§fn drop(self: &mut FfiTextureColor)
fn drop(self: &mut FfiTextureColor)
Synthesized destructor.
Source§impl ExternType for FfiTextureColor
impl ExternType for FfiTextureColor
Source§impl MakeCppStorage for FfiTextureColor
impl MakeCppStorage for FfiTextureColor
Source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut FfiTextureColor
unsafe fn allocate_uninitialized_cpp_storage() -> *mut FfiTextureColor
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 FfiTextureColor)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut FfiTextureColor)
Frees a C++ allocation which has not yet
had a constructor called. Read more
impl UniquePtrTarget for FfiTextureColor
impl WeakPtrTarget for FfiTextureColor
Auto Trait Implementations§
impl !Freeze for FfiTextureColor
impl !RefUnwindSafe for FfiTextureColor
impl !Send for FfiTextureColor
impl !Sync for FfiTextureColor
impl !Unpin for FfiTextureColor
impl UnsafeUnpin for FfiTextureColor
impl UnwindSafe for FfiTextureColor
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