pub struct EditHandle { /* private fields */ }Available on crate feature
generic only.Expand description
Implementations§
Source§impl EditHandle
impl EditHandle
Sourcepub fn call_edit_section<'a, T, F>(
&self,
callback: F,
) -> Result<T, EditHandleError>
pub fn call_edit_section<'a, T, F>( &self, callback: F, ) -> Result<T, EditHandleError>
Sourcepub fn call_read_section<'a, T, F>(
&self,
callback: F,
) -> Result<T, EditHandleError>
pub fn call_read_section<'a, T, F>( &self, callback: F, ) -> Result<T, EditHandleError>
Sourcepub fn get_edit_info(&self) -> EditInfo
pub fn get_edit_info(&self) -> EditInfo
編集情報を取得する。
Sourcepub fn restart_host_app(&self)
pub fn restart_host_app(&self)
ホストアプリケーションを再起動する。
Sourcepub fn enumerate_effects<F>(&self, callback: F)
pub fn enumerate_effects<F>(&self, callback: F)
Sourcepub fn get_effects(&self) -> Vec<Effect>
pub fn get_effects(&self) -> Vec<Effect>
エフェクトの一覧を取得する。
Sourcepub fn enumerate_effect_items<F>(
&self,
effect: &str,
callback: F,
) -> Result<(), EditHandleError>where
F: FnMut(EffectItemInfo),
pub fn enumerate_effect_items<F>(
&self,
effect: &str,
callback: F,
) -> Result<(), EditHandleError>where
F: FnMut(EffectItemInfo),
Sourcepub fn get_effect_items(
&self,
effect: &str,
) -> Result<Vec<EffectItemInfo>, EditHandleError>
pub fn get_effect_items( &self, effect: &str, ) -> Result<Vec<EffectItemInfo>, EditHandleError>
Sourcepub fn enumerate_modules<F>(&self, callback: F)where
F: FnMut(ModuleInfo),
pub fn enumerate_modules<F>(&self, callback: F)where
F: FnMut(ModuleInfo),
モジュールの一覧をコールバック関数で取得する。
Sourcepub fn get_modules(&self) -> Vec<ModuleInfo>
pub fn get_modules(&self) -> Vec<ModuleInfo>
モジュールの一覧を取得する。
Sourcepub fn get_host_app_window_raw(&self) -> Option<Win32WindowHandle>
pub fn get_host_app_window_raw(&self) -> Option<Win32WindowHandle>
ホストアプリケーションのメインウィンドウのハンドルをraw_window_handle::Win32WindowHandleとして取得する。
Sourcepub unsafe fn get_host_app_window(&self) -> Option<WindowHandle<'_>>
pub unsafe fn get_host_app_window(&self) -> Option<WindowHandle<'_>>
ホストアプリケーションのメインウィンドウのハンドルを[raw_window_handle::WindowHandle]として取得する。
§Safety
[raw_window_handle::WindowHandle::borrow_raw] を参照してください。
Sourcepub fn get_edit_state(&self) -> Result<EditState, EditHandleError>
pub fn get_edit_state(&self) -> Result<EditState, EditHandleError>
編集状態を取得する。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EditHandle
impl RefUnwindSafe for EditHandle
impl Unpin for EditHandle
impl UnsafeUnpin for EditHandle
impl UnwindSafe for EditHandle
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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