pub struct LinkCreation<'a>(pub Pin<Rc<InnerLinkCreation>>, pub PhantomData<&'a InnerLinkCreation>);Tuple Fields§
§0: Pin<Rc<InnerLinkCreation>>§1: PhantomData<&'a InnerLinkCreation>Implementations§
Source§impl<'a> LinkCreation<'a>
impl<'a> LinkCreation<'a>
pub fn get_current_x(&self) -> Coord
pub fn set_current_x(&self, value: Coord)
pub fn get_current_y(&self) -> Coord
pub fn set_current_y(&self, value: Coord)
pub fn get_start_pin_id(&self) -> i32
pub fn set_start_pin_id(&self, value: i32)
pub fn get_state(&self) -> LinkCreationState
pub fn set_state(&self, value: LinkCreationState)
pub fn get_version(&self) -> i32
pub fn set_version(&self, value: i32)
Trait Implementations§
Source§impl<'a> Global<'a, NodeEditor> for LinkCreation<'a>
impl<'a> Global<'a, NodeEditor> for LinkCreation<'a>
Source§type StaticSelf = LinkCreation<'static>
type StaticSelf = LinkCreation<'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 LinkCreation<'static>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for LinkCreation<'a>
impl<'a> !Send for LinkCreation<'a>
impl<'a> !Sync for LinkCreation<'a>
impl<'a> !UnwindSafe for LinkCreation<'a>
impl<'a> Freeze for LinkCreation<'a>
impl<'a> Unpin for LinkCreation<'a>
impl<'a> UnsafeUnpin for LinkCreation<'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