PF_WorldTransformSuite1

Struct PF_WorldTransformSuite1 

Source
#[repr(C)]
pub struct PF_WorldTransformSuite1 { pub composite_rect: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, src_rect: *mut PF_Rect, src_opacity: A_long, source_wld: *mut PF_EffectWorld, dest_x: A_long, dest_y: A_long, field_rdr: PF_Field, xfer_mode: PF_XferMode, dest_wld: *mut PF_EffectWorld) -> PF_Err>, pub blend: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, src1: *const PF_EffectWorld, src2: *const PF_EffectWorld, ratio: PF_Fixed, dst: *mut PF_EffectWorld) -> PF_Err>, pub convolve: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, src: *mut PF_EffectWorld, area: *const PF_Rect, flags: PF_KernelFlags, kernel_size: A_long, a_kernel: *mut c_void, r_kernel: *mut c_void, g_kernel: *mut c_void, b_kernel: *mut c_void, dst: *mut PF_EffectWorld) -> PF_Err>, pub copy: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, src: *mut PF_EffectWorld, dst: *mut PF_EffectWorld, src_r: *mut PF_Rect, dst_r: *mut PF_Rect) -> PF_Err>, pub copy_hq: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, src: *mut PF_EffectWorld, dst: *mut PF_EffectWorld, src_r: *mut PF_Rect, dst_r: *mut PF_Rect) -> PF_Err>, pub transfer_rect: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, quality: PF_Quality, m_flags: PF_ModeFlags, field: PF_Field, src_rec: *const PF_Rect, src_world: *const PF_EffectWorld, comp_mode: *const PF_CompositeMode, mask_world0: *const PF_MaskWorld, dest_x: A_long, dest_y: A_long, dst_world: *mut PF_EffectWorld) -> PF_Err>, pub transform_world: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, quality: PF_Quality, m_flags: PF_ModeFlags, field: PF_Field, src_world: *const PF_EffectWorld, comp_mode: *const PF_CompositeMode, mask_world0: *const PF_MaskWorld, matrices: *const PF_FloatMatrix, num_matrices: A_long, src2dst_matrix: PF_Boolean, dest_rect: *const PF_Rect, dst_world: *mut PF_EffectWorld) -> PF_Err>, }

Fields§

§composite_rect: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, src_rect: *mut PF_Rect, src_opacity: A_long, source_wld: *mut PF_EffectWorld, dest_x: A_long, dest_y: A_long, field_rdr: PF_Field, xfer_mode: PF_XferMode, dest_wld: *mut PF_EffectWorld) -> PF_Err>§blend: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, src1: *const PF_EffectWorld, src2: *const PF_EffectWorld, ratio: PF_Fixed, dst: *mut PF_EffectWorld) -> PF_Err>§convolve: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, src: *mut PF_EffectWorld, area: *const PF_Rect, flags: PF_KernelFlags, kernel_size: A_long, a_kernel: *mut c_void, r_kernel: *mut c_void, g_kernel: *mut c_void, b_kernel: *mut c_void, dst: *mut PF_EffectWorld) -> PF_Err>§copy: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, src: *mut PF_EffectWorld, dst: *mut PF_EffectWorld, src_r: *mut PF_Rect, dst_r: *mut PF_Rect) -> PF_Err>§copy_hq: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, src: *mut PF_EffectWorld, dst: *mut PF_EffectWorld, src_r: *mut PF_Rect, dst_r: *mut PF_Rect) -> PF_Err>§transfer_rect: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, quality: PF_Quality, m_flags: PF_ModeFlags, field: PF_Field, src_rec: *const PF_Rect, src_world: *const PF_EffectWorld, comp_mode: *const PF_CompositeMode, mask_world0: *const PF_MaskWorld, dest_x: A_long, dest_y: A_long, dst_world: *mut PF_EffectWorld) -> PF_Err>§transform_world: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, quality: PF_Quality, m_flags: PF_ModeFlags, field: PF_Field, src_world: *const PF_EffectWorld, comp_mode: *const PF_CompositeMode, mask_world0: *const PF_MaskWorld, matrices: *const PF_FloatMatrix, num_matrices: A_long, src2dst_matrix: PF_Boolean, dest_rect: *const PF_Rect, dst_world: *mut PF_EffectWorld) -> PF_Err>

Trait Implementations§

Source§

impl Clone for PF_WorldTransformSuite1

Source§

fn clone(&self) -> PF_WorldTransformSuite1

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PF_WorldTransformSuite1

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for PF_WorldTransformSuite1

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.