pub struct ShortcutSession<'a> { /* private fields */ }Implementations§
Source§impl ShortcutSession<'_>
impl ShortcutSession<'_>
pub fn accept_cut(&self) -> bool
pub fn accept_copy(&self) -> bool
pub fn accept_paste(&self) -> bool
pub fn accept_duplicate(&self) -> bool
pub fn accept_create_node(&self) -> bool
pub fn action_context_size(&self) -> usize
pub fn action_context_nodes(&self) -> Vec<NodeId>
pub fn action_context_links(&self) -> Vec<LinkId>
pub fn end(self)
Trait Implementations§
Source§impl Drop for ShortcutSession<'_>
impl Drop for ShortcutSession<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ShortcutSession<'a>
impl<'a> !Send for ShortcutSession<'a>
impl<'a> !Sync for ShortcutSession<'a>
impl<'a> !UnwindSafe for ShortcutSession<'a>
impl<'a> Freeze for ShortcutSession<'a>
impl<'a> Unpin for ShortcutSession<'a>
impl<'a> UnsafeUnpin for ShortcutSession<'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