pub struct NodeEditorComputations<'a>(pub Pin<Rc<InnerNodeEditorComputations>>, pub PhantomData<&'a InnerNodeEditorComputations>);Tuple Fields§
§0: Pin<Rc<InnerNodeEditorComputations>>§1: PhantomData<&'a InnerNodeEditorComputations>Implementations§
Source§impl<'a> NodeEditorComputations<'a>
impl<'a> NodeEditorComputations<'a>
pub fn get_bezier_min_offset(&self) -> f32
pub fn set_bezier_min_offset(&self, value: f32)
pub fn invoke_compute_link_path( &self, arg_0: i32, arg_1: i32, arg_2: i32, ) -> LinkPath
pub fn on_compute_link_path( &self, f: impl FnMut(i32, i32, i32) -> LinkPath + 'static, )
pub fn invoke_compute_link_preview_path( &self, arg_0: f32, arg_1: f32, arg_2: f32, arg_3: f32, arg_4: f32, arg_5: f32, ) -> SharedString
pub fn on_compute_link_preview_path( &self, f: impl FnMut(f32, f32, f32, f32, f32, f32) -> SharedString + 'static, )
pub fn invoke_compute_pin_at(&self, arg_0: f32, arg_1: f32, arg_2: f32) -> i32
pub fn on_compute_pin_at(&self, f: impl FnMut(f32, f32, f32) -> i32 + 'static)
pub fn invoke_configuration_changed(&self, arg_0: f32, arg_1: f32)
pub fn on_configuration_changed(&self, f: impl FnMut(f32, f32) + 'static)
pub fn get_grid_spacing(&self) -> Coord
pub fn set_grid_spacing(&self, value: Coord)
pub fn invoke_group_collapsed(&self, arg_0: i32, arg_1: i32) -> bool
pub fn on_group_collapsed(&self, f: impl FnMut(i32, i32) -> bool + 'static)
pub fn invoke_group_in_drag(&self, arg_0: i32, arg_1: i32, arg_2: i32) -> bool
pub fn on_group_in_drag(&self, f: impl FnMut(i32, i32, i32) -> bool + 'static)
pub fn invoke_request_grid_update(&self)
pub fn on_request_grid_update(&self, f: impl FnMut() + 'static)
pub fn invoke_viewport_changed(&self, arg_0: f32, arg_1: f32, arg_2: f32)
pub fn on_viewport_changed(&self, f: impl FnMut(f32, f32, f32) + 'static)
pub fn invoke_viewport_resized(&self, arg_0: f32, arg_1: f32)
pub fn on_viewport_resized(&self, f: impl FnMut(f32, f32) + 'static)
Trait Implementations§
Source§impl<'a> Global<'a, NodeEditor> for NodeEditorComputations<'a>
impl<'a> Global<'a, NodeEditor> for NodeEditorComputations<'a>
Source§type StaticSelf = NodeEditorComputations<'static>
type StaticSelf = NodeEditorComputations<'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 NodeEditorComputations<'static>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for NodeEditorComputations<'a>
impl<'a> !Send for NodeEditorComputations<'a>
impl<'a> !Sync for NodeEditorComputations<'a>
impl<'a> !UnwindSafe for NodeEditorComputations<'a>
impl<'a> Freeze for NodeEditorComputations<'a>
impl<'a> Unpin for NodeEditorComputations<'a>
impl<'a> UnsafeUnpin for NodeEditorComputations<'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