AEGP_UtilitySuite5

Struct AEGP_UtilitySuite5 

Source
#[repr(C)]
pub struct AEGP_UtilitySuite5 {
Show 31 fields pub AEGP_ReportInfo: Option<unsafe extern "C" fn(aegp_plugin_id: AEGP_PluginID, info_stringZ: *const A_char) -> A_Err>, pub AEGP_GetDriverPluginInitFuncVersion: Option<unsafe extern "C" fn(major_versionPS: *mut A_short, minor_versionPS: *mut A_short) -> A_Err>, pub AEGP_GetDriverImplementationVersion: Option<unsafe extern "C" fn(major_versionPS: *mut A_short, minor_versionPS: *mut A_short) -> A_Err>, pub AEGP_StartQuietErrors: Option<unsafe extern "C" fn(err_stateP: *mut AEGP_ErrReportState) -> A_Err>, pub AEGP_EndQuietErrors: Option<unsafe extern "C" fn(report_quieted_errorsB: A_Boolean, err_stateP: *mut AEGP_ErrReportState) -> A_Err>, pub AEGP_GetLastErrorMessage: Option<unsafe extern "C" fn(buffer_size: A_long, error_string: *mut A_char, error_num: *mut A_Err) -> A_Err>, pub AEGP_StartUndoGroup: Option<unsafe extern "C" fn(undo_nameZ: *const A_char) -> A_Err>, pub AEGP_EndUndoGroup: Option<unsafe extern "C" fn() -> A_Err>, pub AEGP_RegisterWithAEGP: Option<unsafe extern "C" fn(global_refcon: AEGP_GlobalRefcon, plugin_nameZ: *const A_char, plugin_id: *mut AEGP_PluginID) -> A_Err>, pub AEGP_GetMainHWND: Option<unsafe extern "C" fn(main_hwnd: *mut c_void) -> A_Err>, pub AEGP_ShowHideAllFloaters: Option<unsafe extern "C" fn(include_tool_palB: A_Boolean) -> A_Err>, pub AEGP_PaintPalGetForeColor: Option<unsafe extern "C" fn(fore_colorP: *mut AEGP_ColorVal) -> A_Err>, pub AEGP_PaintPalGetBackColor: Option<unsafe extern "C" fn(back_colorP: *mut AEGP_ColorVal) -> A_Err>, pub AEGP_PaintPalSetForeColor: Option<unsafe extern "C" fn(fore_colorP: *const AEGP_ColorVal) -> A_Err>, pub AEGP_PaintPalSetBackColor: Option<unsafe extern "C" fn(back_colorP: *const AEGP_ColorVal) -> A_Err>, pub AEGP_CharPalGetFillColor: Option<unsafe extern "C" fn(is_fill_color_definedPB: *mut A_Boolean, fill_colorP: *mut AEGP_ColorVal) -> A_Err>, pub AEGP_CharPalGetStrokeColor: Option<unsafe extern "C" fn(is_stroke_color_definedPB: *mut A_Boolean, stroke_colorP: *mut AEGP_ColorVal) -> A_Err>, pub AEGP_CharPalSetFillColor: Option<unsafe extern "C" fn(fill_colorP: *const AEGP_ColorVal) -> A_Err>, pub AEGP_CharPalSetStrokeColor: Option<unsafe extern "C" fn(stroke_colorP: *const AEGP_ColorVal) -> A_Err>, pub AEGP_CharPalIsFillColorUIFrontmost: Option<unsafe extern "C" fn(is_fill_color_selectedPB: *mut A_Boolean) -> A_Err>, pub AEGP_ConvertFpLongToHSFRatio: Option<unsafe extern "C" fn(numberF: A_FpLong, ratioPR: *mut A_Ratio) -> A_Err>, pub AEGP_ConvertHSFRatioToFpLong: Option<unsafe extern "C" fn(ratioR: A_Ratio, numberPF: *mut A_FpLong) -> A_Err>, pub AEGP_CauseIdleRoutinesToBeCalled: Option<unsafe extern "C" fn() -> A_Err>, pub AEGP_GetSuppressInteractiveUI: Option<unsafe extern "C" fn(ui_is_suppressedPB: *mut A_Boolean) -> A_Err>, pub AEGP_WriteToOSConsole: Option<unsafe extern "C" fn(textZ: *const A_char) -> A_Err>, pub AEGP_WriteToDebugLog: Option<unsafe extern "C" fn(subsystemZ: *const A_char, event_typeZ: *const A_char, infoZ: *const A_char) -> A_Err>, pub AEGP_IsScriptingAvailable: Option<unsafe extern "C" fn(outAvailablePB: *mut A_Boolean) -> A_Err>, pub AEGP_ExecuteScript: Option<unsafe extern "C" fn(inPlugin_id: AEGP_PluginID, inScriptZ: *const A_char, platform_encodingB: A_Boolean, outResultPH0: *mut AEGP_MemHandle, outErrorStringPH0: *mut AEGP_MemHandle) -> A_Err>, pub AEGP_HostIsActivated: Option<unsafe extern "C" fn(is_activatedPB: *mut A_Boolean) -> A_Err>, pub AEGP_GetPluginPlatformRef: Option<unsafe extern "C" fn(plug_id: AEGP_PluginID, plat_refPPV: *mut *mut c_void) -> A_Err>, pub AEGP_UpdateFontList: Option<unsafe extern "C" fn() -> A_Err>,
}

Fields§

§AEGP_ReportInfo: Option<unsafe extern "C" fn(aegp_plugin_id: AEGP_PluginID, info_stringZ: *const A_char) -> A_Err>§AEGP_GetDriverPluginInitFuncVersion: Option<unsafe extern "C" fn(major_versionPS: *mut A_short, minor_versionPS: *mut A_short) -> A_Err>§AEGP_GetDriverImplementationVersion: Option<unsafe extern "C" fn(major_versionPS: *mut A_short, minor_versionPS: *mut A_short) -> A_Err>§AEGP_StartQuietErrors: Option<unsafe extern "C" fn(err_stateP: *mut AEGP_ErrReportState) -> A_Err>§AEGP_EndQuietErrors: Option<unsafe extern "C" fn(report_quieted_errorsB: A_Boolean, err_stateP: *mut AEGP_ErrReportState) -> A_Err>§AEGP_GetLastErrorMessage: Option<unsafe extern "C" fn(buffer_size: A_long, error_string: *mut A_char, error_num: *mut A_Err) -> A_Err>§AEGP_StartUndoGroup: Option<unsafe extern "C" fn(undo_nameZ: *const A_char) -> A_Err>§AEGP_EndUndoGroup: Option<unsafe extern "C" fn() -> A_Err>§AEGP_RegisterWithAEGP: Option<unsafe extern "C" fn(global_refcon: AEGP_GlobalRefcon, plugin_nameZ: *const A_char, plugin_id: *mut AEGP_PluginID) -> A_Err>§AEGP_GetMainHWND: Option<unsafe extern "C" fn(main_hwnd: *mut c_void) -> A_Err>§AEGP_ShowHideAllFloaters: Option<unsafe extern "C" fn(include_tool_palB: A_Boolean) -> A_Err>§AEGP_PaintPalGetForeColor: Option<unsafe extern "C" fn(fore_colorP: *mut AEGP_ColorVal) -> A_Err>§AEGP_PaintPalGetBackColor: Option<unsafe extern "C" fn(back_colorP: *mut AEGP_ColorVal) -> A_Err>§AEGP_PaintPalSetForeColor: Option<unsafe extern "C" fn(fore_colorP: *const AEGP_ColorVal) -> A_Err>§AEGP_PaintPalSetBackColor: Option<unsafe extern "C" fn(back_colorP: *const AEGP_ColorVal) -> A_Err>§AEGP_CharPalGetFillColor: Option<unsafe extern "C" fn(is_fill_color_definedPB: *mut A_Boolean, fill_colorP: *mut AEGP_ColorVal) -> A_Err>§AEGP_CharPalGetStrokeColor: Option<unsafe extern "C" fn(is_stroke_color_definedPB: *mut A_Boolean, stroke_colorP: *mut AEGP_ColorVal) -> A_Err>§AEGP_CharPalSetFillColor: Option<unsafe extern "C" fn(fill_colorP: *const AEGP_ColorVal) -> A_Err>§AEGP_CharPalSetStrokeColor: Option<unsafe extern "C" fn(stroke_colorP: *const AEGP_ColorVal) -> A_Err>§AEGP_CharPalIsFillColorUIFrontmost: Option<unsafe extern "C" fn(is_fill_color_selectedPB: *mut A_Boolean) -> A_Err>§AEGP_ConvertFpLongToHSFRatio: Option<unsafe extern "C" fn(numberF: A_FpLong, ratioPR: *mut A_Ratio) -> A_Err>§AEGP_ConvertHSFRatioToFpLong: Option<unsafe extern "C" fn(ratioR: A_Ratio, numberPF: *mut A_FpLong) -> A_Err>§AEGP_CauseIdleRoutinesToBeCalled: Option<unsafe extern "C" fn() -> A_Err>§AEGP_GetSuppressInteractiveUI: Option<unsafe extern "C" fn(ui_is_suppressedPB: *mut A_Boolean) -> A_Err>§AEGP_WriteToOSConsole: Option<unsafe extern "C" fn(textZ: *const A_char) -> A_Err>§AEGP_WriteToDebugLog: Option<unsafe extern "C" fn(subsystemZ: *const A_char, event_typeZ: *const A_char, infoZ: *const A_char) -> A_Err>§AEGP_IsScriptingAvailable: Option<unsafe extern "C" fn(outAvailablePB: *mut A_Boolean) -> A_Err>§AEGP_ExecuteScript: Option<unsafe extern "C" fn(inPlugin_id: AEGP_PluginID, inScriptZ: *const A_char, platform_encodingB: A_Boolean, outResultPH0: *mut AEGP_MemHandle, outErrorStringPH0: *mut AEGP_MemHandle) -> A_Err>§AEGP_HostIsActivated: Option<unsafe extern "C" fn(is_activatedPB: *mut A_Boolean) -> A_Err>§AEGP_GetPluginPlatformRef: Option<unsafe extern "C" fn(plug_id: AEGP_PluginID, plat_refPPV: *mut *mut c_void) -> A_Err>§AEGP_UpdateFontList: Option<unsafe extern "C" fn() -> A_Err>

Trait Implementations§

Source§

impl Clone for AEGP_UtilitySuite5

Source§

fn clone(&self) -> AEGP_UtilitySuite5

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 AEGP_UtilitySuite5

Source§

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

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

impl Copy for AEGP_UtilitySuite5

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.