Struct SignalsInGraphEdit

pub struct SignalsInGraphEdit<'c> { /* private fields */ }
Expand description

A collection of signals for the GraphEdit class.

Implementations§

§

impl<'c> SignalsInGraphEdit<'c>

pub fn connection_request(&mut self) -> SigConnectionRequest<'c>

Signature: (from_node: StringName, from_port: i64, to_node: StringName, to_port: i64)

pub fn disconnection_request(&mut self) -> SigDisconnectionRequest<'c>

Signature: (from_node: StringName, from_port: i64, to_node: StringName, to_port: i64)

pub fn connection_to_empty(&mut self) -> SigConnectionToEmpty<'c>

Signature: (from_node: StringName, from_port: i64, release_position: Vector2)

pub fn connection_from_empty(&mut self) -> SigConnectionFromEmpty<'c>

Signature: (to_node: StringName, to_port: i64, release_position: Vector2)

pub fn connection_drag_started(&mut self) -> SigConnectionDragStarted<'c>

Signature: (from_node: StringName, from_port: i64, is_output: bool)

pub fn connection_drag_ended(&mut self) -> SigConnectionDragEnded<'c>

Signature: ()

pub fn copy_nodes_request(&mut self) -> SigCopyNodesRequest<'c>

Signature: ()

pub fn cut_nodes_request(&mut self) -> SigCutNodesRequest<'c>

Signature: ()

pub fn paste_nodes_request(&mut self) -> SigPasteNodesRequest<'c>

Signature: ()

pub fn duplicate_nodes_request(&mut self) -> SigDuplicateNodesRequest<'c>

Signature: ()

pub fn delete_nodes_request(&mut self) -> SigDeleteNodesRequest<'c>

Signature: (nodes: Array<StringName>)

pub fn node_selected(&mut self) -> SigNodeSelected<'c>

Signature: (node: Gd<Node>)

pub fn node_deselected(&mut self) -> SigNodeDeselected<'c>

Signature: (node: Gd<Node>)

pub fn frame_rect_changed(&mut self) -> SigFrameRectChanged<'c>

Signature: (frame: Gd<GraphFrame>, new_rect: Rect2)

pub fn popup_request(&mut self) -> SigPopupRequest<'c>

Signature: (at_position: Vector2)

pub fn begin_node_move(&mut self) -> SigBeginNodeMove<'c>

Signature: ()

pub fn end_node_move(&mut self) -> SigEndNodeMove<'c>

Signature: ()

pub fn graph_elements_linked_to_frame_request( &mut self, ) -> SigGraphElementsLinkedToFrameRequest<'c>

Signature: (elements: VariantArray, frame: StringName)

pub fn scroll_offset_changed(&mut self) -> SigScrollOffsetChanged<'c>

Signature: (offset: Vector2)

Auto Trait Implementations§

§

impl<'c> Freeze for SignalsInGraphEdit<'c>

§

impl<'c> RefUnwindSafe for SignalsInGraphEdit<'c>

§

impl<'c> !Send for SignalsInGraphEdit<'c>

§

impl<'c> !Sync for SignalsInGraphEdit<'c>

§

impl<'c> Unpin for SignalsInGraphEdit<'c>

§

impl<'c> !UnwindSafe for SignalsInGraphEdit<'c>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.