#[repr(C)]pub struct QuickAccessApi {
pub add: RawQuickAccessAddShortcut,
pub remove: RawQuickAccessGeneric,
pub notify: RawQuickAccessGeneric,
pub add_context_menu: RawQuickAccessAddContextMenu2,
pub remove_context_menu: RawQuickAccessGeneric,
}Fields§
§add: RawQuickAccessAddShortcutAdds a new icon to the quick access with the given texture identifiers. When clicked the given keybind identifier will be invoked.
remove: RawQuickAccessGenericRemoves a shortcut with the given identifier from quick access.
notify: RawQuickAccessGenericSends a notification icon to the given shortcut.
Adds a new ImGui callback fired when right-clicking the shortcut icon.
Removes a registered context menu from the quick access item with the given identifier.
Trait Implementations§
Source§impl Clone for QuickAccessApi
impl Clone for QuickAccessApi
Source§fn clone(&self) -> QuickAccessApi
fn clone(&self) -> QuickAccessApi
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 moreAuto Trait Implementations§
impl Freeze for QuickAccessApi
impl RefUnwindSafe for QuickAccessApi
impl Send for QuickAccessApi
impl Sync for QuickAccessApi
impl Unpin for QuickAccessApi
impl UnwindSafe for QuickAccessApi
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