pub struct HostAppHandle<'a> { /* private fields */ }Available on crate feature
generic only.Expand description
Implementations§
Source§impl<'a> HostAppHandle<'a>
impl<'a> HostAppHandle<'a>
Sourcepub fn set_plugin_information(&mut self, information: &str)
pub fn set_plugin_information(&mut self, information: &str)
プラグインの情報を設定します。 「プラグイン情報」ダイアログで表示されます。
Sourcepub fn create_edit_handle(&mut self) -> EditHandle
pub fn create_edit_handle(&mut self) -> EditHandle
プロジェクトデータ編集用のハンドルを登録します。
Sourcepub fn register_window_client<T: HasWindowHandle>(
&mut self,
name: &str,
instance: &T,
) -> Result<(), HandleError>
pub fn register_window_client<T: HasWindowHandle>( &mut self, name: &str, instance: &T, ) -> Result<(), HandleError>
Sourcepub fn register_project_load_handler(
&mut self,
callback: extern "C" fn(*mut PROJECT_FILE),
)
pub fn register_project_load_handler( &mut self, callback: extern "C" fn(*mut PROJECT_FILE), )
プロジェクトファイルをロードした直後に呼ばれる関数を登録します。 また、プロジェクトの初期化時にも呼ばれます。
§Note
crate::generic::GenericPlugin::on_project_load が自動的に登録されるため、
通常はこの関数を直接使用する必要はありません。
Sourcepub fn register_project_save_handler(
&mut self,
callback: extern "C" fn(*mut PROJECT_FILE),
)
pub fn register_project_save_handler( &mut self, callback: extern "C" fn(*mut PROJECT_FILE), )
プロジェクトファイルを保存する直前に呼ばれる関数を登録します。
§Note
crate::generic::GenericPlugin::on_project_save が自動的に登録されるため、
通常はこの関数を直接使用する必要はありません。
Source§impl<'a> HostAppHandle<'a>
impl<'a> HostAppHandle<'a>
Sourcepub fn register_input_plugin<T: InputPlugin + InputSingleton + 'static>(
&mut self,
handle: &SubPlugin<T>,
)
Available on crate feature input only.
pub fn register_input_plugin<T: InputPlugin + InputSingleton + 'static>( &mut self, handle: &SubPlugin<T>, )
input only.入力プラグインを登録します。
Source§impl<'a> HostAppHandle<'a>
impl<'a> HostAppHandle<'a>
Sourcepub fn register_output_plugin<T: OutputPlugin + OutputSingleton + 'static>(
&mut self,
handle: &SubPlugin<T>,
)
Available on crate feature output only.
pub fn register_output_plugin<T: OutputPlugin + OutputSingleton + 'static>( &mut self, handle: &SubPlugin<T>, )
output only.出力プラグインを登録します。
Source§impl<'a> HostAppHandle<'a>
impl<'a> HostAppHandle<'a>
Sourcepub fn register_filter_plugin<T: FilterPlugin + FilterSingleton + 'static>(
&mut self,
handle: &SubPlugin<T>,
)
Available on crate feature filter only.
pub fn register_filter_plugin<T: FilterPlugin + FilterSingleton + 'static>( &mut self, handle: &SubPlugin<T>, )
filter only.フィルタープラグインを登録します。
Source§impl<'a> HostAppHandle<'a>
impl<'a> HostAppHandle<'a>
Sourcepub fn register_script_module<T: ScriptModule + ScriptModuleSingleton + 'static>(
&mut self,
handle: &SubPlugin<T>,
)
Available on crate feature module only.
pub fn register_script_module<T: ScriptModule + ScriptModuleSingleton + 'static>( &mut self, handle: &SubPlugin<T>, )
module only.スクリプトモジュールを登録します。
Auto Trait Implementations§
impl<'a> Freeze for HostAppHandle<'a>
impl<'a> RefUnwindSafe for HostAppHandle<'a>
impl<'a> !Send for HostAppHandle<'a>
impl<'a> !Sync for HostAppHandle<'a>
impl<'a> Unpin for HostAppHandle<'a>
impl<'a> !UnwindSafe for HostAppHandle<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more