#[repr(C)]pub struct FILTER_ITEM_BUTTON {
pub type: LPCWSTR,
pub name: LPCWSTR,
pub callback: extern "C" fn(edit_section: *mut EDIT_SECTION),
}Expand description
ボタン項目構造体 ボタンを押すとコールバック関数が呼ばれます ※plugin2.hの編集のコールバック関数と同様な形になります
Fields§
§type: LPCWSTR設定の種別(L“button“)
name: LPCWSTR設定名
callback: extern "C" fn(edit_section: *mut EDIT_SECTION)コールバック関数
Trait Implementations§
Source§impl Clone for FILTER_ITEM_BUTTON
impl Clone for FILTER_ITEM_BUTTON
Source§fn clone(&self) -> FILTER_ITEM_BUTTON
fn clone(&self) -> FILTER_ITEM_BUTTON
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 moreimpl Copy for FILTER_ITEM_BUTTON
Auto Trait Implementations§
impl Freeze for FILTER_ITEM_BUTTON
impl RefUnwindSafe for FILTER_ITEM_BUTTON
impl !Send for FILTER_ITEM_BUTTON
impl !Sync for FILTER_ITEM_BUTTON
impl Unpin for FILTER_ITEM_BUTTON
impl UnwindSafe for FILTER_ITEM_BUTTON
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