#[repr(C)]pub struct GraphDragAndDropI {
pub type_name: *const c_char,
pub can_create_from: Option<unsafe extern "C" fn(tt: *mut TheTruthO, graph_id: TtIdT, dragged_object: TtIdT) -> bool>,
pub setup_graph_node_from_dragged_object: Option<unsafe extern "C" fn(tt: *mut TheTruthO, graph_id: TtIdT, node_id: TtIdT, dragged_object: TtIdT, undo_scope: TtUndoScopeT)>,
}Fields§
§type_name: *const c_char§can_create_from: Option<unsafe extern "C" fn(tt: *mut TheTruthO, graph_id: TtIdT, dragged_object: TtIdT) -> bool>§setup_graph_node_from_dragged_object: Option<unsafe extern "C" fn(tt: *mut TheTruthO, graph_id: TtIdT, node_id: TtIdT, dragged_object: TtIdT, undo_scope: TtUndoScopeT)>Trait Implementations§
Source§impl Clone for GraphDragAndDropI
impl Clone for GraphDragAndDropI
Source§fn clone(&self) -> GraphDragAndDropI
fn clone(&self) -> GraphDragAndDropI
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GraphDragAndDropI
Auto Trait Implementations§
impl !Send for GraphDragAndDropI
impl !Sync for GraphDragAndDropI
impl Freeze for GraphDragAndDropI
impl RefUnwindSafe for GraphDragAndDropI
impl Unpin for GraphDragAndDropI
impl UnsafeUnpin for GraphDragAndDropI
impl UnwindSafe for GraphDragAndDropI
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