pub struct ImageInfo(/* private fields */);Implementations§
Source§impl ImageInfo
impl ImageInfo
pub fn x_res(&self) -> i32
pub fn set_x_res(&mut self, val: i32)
pub fn with_x_res(self, val: i32) -> Self
pub fn y_res(&self) -> i32
pub fn set_y_res(&mut self, val: i32)
pub fn with_y_res(self, val: i32) -> Self
pub fn gamma(&self) -> f64
pub fn set_gamma(&mut self, val: f64)
pub fn with_gamma(self, val: f64) -> Self
pub fn data_format(&self) -> ImageDataFormat
pub fn set_data_format(&mut self, val: ImageDataFormat)
pub fn with_data_format(self, val: ImageDataFormat) -> Self
pub fn interleaved(&self) -> bool
pub fn set_interleaved(&mut self, val: bool)
pub fn with_interleaved(self, val: bool) -> Self
pub fn packing(&self) -> ImagePacking
pub fn set_packing(&mut self, val: ImagePacking)
pub fn with_packing(self, val: ImagePacking) -> Self
pub fn image_format(&self, session: &Session) -> Result<String>
pub fn ptr(&self) -> *const HAPI_ImageInfo
Trait Implementations§
Auto Trait Implementations§
impl Forget for ImageInfo
impl Freeze for ImageInfo
impl Move for ImageInfo
impl RefUnwindSafe for ImageInfo
impl Send for ImageInfo
impl Sync for ImageInfo
impl Unpin for ImageInfo
impl UnsafeUnpin for ImageInfo
impl UnwindSafe for 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