pub struct NodeEditorEvents<'a>(pub Pin<Rc<InnerNodeEditorEvents>>, pub PhantomData<&'a InnerNodeEditorEvents>);Tuple Fields§
§0: Pin<Rc<InnerNodeEditorEvents>>§1: PhantomData<&'a InnerNodeEditorEvents>Implementations§
Source§impl<'a> NodeEditorEvents<'a>
impl<'a> NodeEditorEvents<'a>
pub fn invoke_group_collapse_requested(&self, arg_0: i32, arg_1: bool)
pub fn on_group_collapse_requested(&self, f: impl FnMut(i32, bool) + 'static)
pub fn invoke_group_double_clicked(&self, arg_0: i32)
pub fn on_group_double_clicked(&self, f: impl FnMut(i32) + 'static)
pub fn invoke_node_double_clicked(&self, arg_0: i32)
pub fn on_node_double_clicked(&self, f: impl FnMut(i32) + 'static)
Trait Implementations§
Source§impl<'a> Global<'a, NodeEditor> for NodeEditorEvents<'a>
impl<'a> Global<'a, NodeEditor> for NodeEditorEvents<'a>
Source§type StaticSelf = NodeEditorEvents<'static>
type StaticSelf = NodeEditorEvents<'static>
The
Self type, with a 'static lifetime.Source§fn get(component: &'a NodeEditor) -> Self
fn get(component: &'a NodeEditor) -> Self
Returns a reference to the global.
impl StrongHandle for NodeEditorEvents<'static>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for NodeEditorEvents<'a>
impl<'a> !Send for NodeEditorEvents<'a>
impl<'a> !Sync for NodeEditorEvents<'a>
impl<'a> !UnwindSafe for NodeEditorEvents<'a>
impl<'a> Freeze for NodeEditorEvents<'a>
impl<'a> Unpin for NodeEditorEvents<'a>
impl<'a> UnsafeUnpin for NodeEditorEvents<'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