#[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: f64Trait 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 Freeze for HAPI_ImageInfo
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