#[repr(C, packed(1))]pub struct PrSDKPPixCreatorSuite {
pub CreatePPix: Option<unsafe extern "C" fn(outPPixHand: *mut PPixHand, inRequestedAccess: PrPPixBufferAccess, inPixelFormat: PrPixelFormat, inBoundingRect: *const prRect) -> prSuiteError>,
pub ClonePPix: Option<unsafe extern "C" fn(inPPixToClone: PPixHand, outPPixHand: *mut PPixHand, inRequestedAccess: PrPPixBufferAccess) -> prSuiteError>,
}Fields§
§CreatePPix: Option<unsafe extern "C" fn(outPPixHand: *mut PPixHand, inRequestedAccess: PrPPixBufferAccess, inPixelFormat: PrPixelFormat, inBoundingRect: *const prRect) -> prSuiteError>This will create a new ppix.
@param outPPixHand The new ppix handle if the create was successfull. NULL otherwise. @param inRequestedAccess Requested pixel access. ReadOnly is not allowed (doesn’t make sense). @param inPixelFormat The pixel format of this ppix.
ClonePPix: Option<unsafe extern "C" fn(inPPixToClone: PPixHand, outPPixHand: *mut PPixHand, inRequestedAccess: PrPPixBufferAccess) -> prSuiteError>This will clone an existing ppix. It will ref-count the ppix if only read-access is requested and the ppix to copy from is read-only as well, otherwise it will create a new one and copy.
@param inPPixToClone The ppix to clone from. @param outPPixHand The new ppix handle if the create was successfull. NULL otherwise. @param inRequestedAccess Requested pixel access on the new ppix. (Only PrPPixBufferAccess_ReadOnly is allowed right now).
Trait Implementations§
Source§impl Clone for PrSDKPPixCreatorSuite
impl Clone for PrSDKPPixCreatorSuite
Source§fn clone(&self) -> PrSDKPPixCreatorSuite
fn clone(&self) -> PrSDKPPixCreatorSuite
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 PrSDKPPixCreatorSuite
impl Debug for PrSDKPPixCreatorSuite
impl Copy for PrSDKPPixCreatorSuite
Auto Trait Implementations§
impl Freeze for PrSDKPPixCreatorSuite
impl RefUnwindSafe for PrSDKPPixCreatorSuite
impl Send for PrSDKPPixCreatorSuite
impl Sync for PrSDKPPixCreatorSuite
impl Unpin for PrSDKPPixCreatorSuite
impl UnwindSafe for PrSDKPPixCreatorSuite
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