Struct hapi_rs::raw::HAPI_ImageInfo
source · #[repr(C)]pub struct HAPI_ImageInfo {
pub imageFileFormatNameSH: HAPI_StringHandle,
pub xRes: c_int,
pub yRes: c_int,
pub dataFormat: ImageDataFormat,
pub interleaved: HAPI_Bool,
pub packing: ImagePacking,
pub gamma: f64,
}
Fields§
§imageFileFormatNameSH: HAPI_StringHandle
§xRes: c_int
§yRes: c_int
§dataFormat: ImageDataFormat
§interleaved: HAPI_Bool
§packing: ImagePacking
§gamma: f64
Trait Implementations§
source§impl Clone for HAPI_ImageInfo
impl Clone for HAPI_ImageInfo
source§fn clone(&self) -> HAPI_ImageInfo
fn clone(&self) -> HAPI_ImageInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HAPI_ImageInfo
impl Debug for HAPI_ImageInfo
impl Copy for HAPI_ImageInfo
Auto Trait Implementations§
impl RefUnwindSafe for HAPI_ImageInfo
impl Send for HAPI_ImageInfo
impl Sync for HAPI_ImageInfo
impl Unpin for HAPI_ImageInfo
impl UnwindSafe for HAPI_ImageInfo
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