#[repr(C, packed(1))]pub struct imFrameFormat {
pub inFrameWidth: csSDK_int32,
pub inFrameHeight: csSDK_int32,
pub inPixelFormat: PrPixelFormat,
}Expand description
This struct defines a specific frame format that is being requested fromt the importer. Any member can be 0, which means that any value is an acceptable match. For instance, the host might ask for a specific width and height, but pass 0 as the pixel format, meaning it can accept any pixel format.
Fields§
§inFrameWidth: csSDK_int32§inFrameHeight: csSDK_int32§inPixelFormat: PrPixelFormatTrait Implementations§
Source§impl Clone for imFrameFormat
impl Clone for imFrameFormat
Source§fn clone(&self) -> imFrameFormat
fn clone(&self) -> imFrameFormat
Returns a duplicate 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 imFrameFormat
impl Debug for imFrameFormat
impl Copy for imFrameFormat
Auto Trait Implementations§
impl Freeze for imFrameFormat
impl RefUnwindSafe for imFrameFormat
impl Send for imFrameFormat
impl Sync for imFrameFormat
impl Unpin for imFrameFormat
impl UnwindSafe for imFrameFormat
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