#[repr(C)]pub struct GraphInterpreterDebuggerApi {Show 30 fields
pub enable_debugger: Option<unsafe extern "C" fn()>,
pub enable_breakpoints: Option<unsafe extern "C" fn()>,
pub disable_debugger: Option<unsafe extern "C" fn()>,
pub disable_breakpoints: Option<unsafe extern "C" fn()>,
pub is_debugger_enabled: Option<unsafe extern "C" fn() -> bool>,
pub are_breakpoints_enabled: Option<unsafe extern "C" fn() -> bool>,
pub is_connected: Option<unsafe extern "C" fn() -> bool>,
pub is_graph_instances_known: Option<unsafe extern "C" fn(instance_id: u64) -> bool>,
pub known_graphs: Option<unsafe extern "C" fn(ta: *mut TempAllocatorI) -> *const GraphInterpreterDebuggerKnownGraphT>,
pub instances: Option<unsafe extern "C" fn(graph_id: TtIdT, ta: *mut TempAllocatorI) -> *const GraphInterpreterDebuggerKnownGraphT>,
pub state_pointers: Option<unsafe extern "C" fn() -> GraphInterpreterDebuggerStatePointersT>,
pub add_graph_information: Option<unsafe extern "C" fn(instance_id: u64, graph: TtIdT, prototype: TtIdT, graph_version: u32, nodes: *const GraphInterpreterNodeT, subgraphs: *mut TtIdT, graph_prototypes: *mut TtIdT, wires_mapping: *mut GraphInterpreterDebuggerWireToIdxT, rewired_connection: *const GraphImportedRewiredConnectionT, rewired_nodes: *const GraphImportedRewiredNodeT, num_nodes: u32, num_graph_prototypes: u32, num_rewired_connection: u32, num_rewired_nodes: u32, num_wires_mapping: u32, num_wires: u32)>,
pub node_activity: Option<unsafe extern "C" fn(instance_id: u64, node_unique_id: u64) -> ClockO>,
pub set_node_active: Option<unsafe extern "C" fn(instance_id: u64, node_unique_id: u64)>,
pub write_wire: Option<unsafe extern "C" fn(instance_id: u64, wire_index: u32, n: u32, data: *const c_void, size: u32)>,
pub read_wire: Option<unsafe extern "C" fn(instance_id: u64, wire_id: TtIdT) -> GraphInterpreterDebuggerWireT>,
pub add_breakpoint: Option<unsafe extern "C" fn(graph: TtIdT, node_unique_id: u64)>,
pub remove_breakpoint: Option<unsafe extern "C" fn(graph: TtIdT, node_unique_id: u64)>,
pub has_breakpoint: Option<unsafe extern "C" fn(graph: TtIdT, node_unique_id: u64) -> bool>,
pub break_here: Option<unsafe extern "C" fn(graph: TtIdT, node_unique_id: u64)>,
pub breakpoint: Option<unsafe extern "C" fn() -> GraphInterpreterDebuggerBreakpointT>,
pub at_breakpoint: Option<unsafe extern "C" fn() -> bool>,
pub continue_execution: Option<unsafe extern "C" fn()>,
pub breakpoints: Option<unsafe extern "C" fn(graph: TtIdT, ta: *mut TempAllocatorI) -> *const GraphInterpreterDebuggerBreakpointT>,
pub add_node_to_broken_queue: Option<unsafe extern "C" fn(gr: *mut GraphInterpreterO, graph: TtIdT, unique_id: u64, idx: u32)>,
pub broken_node_queue: Option<unsafe extern "C" fn(ta: *mut TempAllocatorI) -> *const GraphInterpreterDebuggerBrokenNodeQueueItemT>,
pub broken_node_queue_size: Option<unsafe extern "C" fn() -> u64>,
pub reset_broken_node_queue: Option<unsafe extern "C" fn()>,
pub step: Option<unsafe extern "C" fn()>,
pub internal__remove_instance: Option<unsafe extern "C" fn(instance_id: u64)>,
}
Fields§
§enable_debugger: Option<unsafe extern "C" fn()>
§enable_breakpoints: Option<unsafe extern "C" fn()>
§disable_debugger: Option<unsafe extern "C" fn()>
§disable_breakpoints: Option<unsafe extern "C" fn()>
§is_debugger_enabled: Option<unsafe extern "C" fn() -> bool>
§are_breakpoints_enabled: Option<unsafe extern "C" fn() -> bool>
§is_connected: Option<unsafe extern "C" fn() -> bool>
§is_graph_instances_known: Option<unsafe extern "C" fn(instance_id: u64) -> bool>
§known_graphs: Option<unsafe extern "C" fn(ta: *mut TempAllocatorI) -> *const GraphInterpreterDebuggerKnownGraphT>
§instances: Option<unsafe extern "C" fn(graph_id: TtIdT, ta: *mut TempAllocatorI) -> *const GraphInterpreterDebuggerKnownGraphT>
§state_pointers: Option<unsafe extern "C" fn() -> GraphInterpreterDebuggerStatePointersT>
§add_graph_information: Option<unsafe extern "C" fn(instance_id: u64, graph: TtIdT, prototype: TtIdT, graph_version: u32, nodes: *const GraphInterpreterNodeT, subgraphs: *mut TtIdT, graph_prototypes: *mut TtIdT, wires_mapping: *mut GraphInterpreterDebuggerWireToIdxT, rewired_connection: *const GraphImportedRewiredConnectionT, rewired_nodes: *const GraphImportedRewiredNodeT, num_nodes: u32, num_graph_prototypes: u32, num_rewired_connection: u32, num_rewired_nodes: u32, num_wires_mapping: u32, num_wires: u32)>
§node_activity: Option<unsafe extern "C" fn(instance_id: u64, node_unique_id: u64) -> ClockO>
§set_node_active: Option<unsafe extern "C" fn(instance_id: u64, node_unique_id: u64)>
§write_wire: Option<unsafe extern "C" fn(instance_id: u64, wire_index: u32, n: u32, data: *const c_void, size: u32)>
§read_wire: Option<unsafe extern "C" fn(instance_id: u64, wire_id: TtIdT) -> GraphInterpreterDebuggerWireT>
§add_breakpoint: Option<unsafe extern "C" fn(graph: TtIdT, node_unique_id: u64)>
§remove_breakpoint: Option<unsafe extern "C" fn(graph: TtIdT, node_unique_id: u64)>
§has_breakpoint: Option<unsafe extern "C" fn(graph: TtIdT, node_unique_id: u64) -> bool>
§break_here: Option<unsafe extern "C" fn(graph: TtIdT, node_unique_id: u64)>
§breakpoint: Option<unsafe extern "C" fn() -> GraphInterpreterDebuggerBreakpointT>
§at_breakpoint: Option<unsafe extern "C" fn() -> bool>
§continue_execution: Option<unsafe extern "C" fn()>
§breakpoints: Option<unsafe extern "C" fn(graph: TtIdT, ta: *mut TempAllocatorI) -> *const GraphInterpreterDebuggerBreakpointT>
§add_node_to_broken_queue: Option<unsafe extern "C" fn(gr: *mut GraphInterpreterO, graph: TtIdT, unique_id: u64, idx: u32)>
§broken_node_queue: Option<unsafe extern "C" fn(ta: *mut TempAllocatorI) -> *const GraphInterpreterDebuggerBrokenNodeQueueItemT>
§broken_node_queue_size: Option<unsafe extern "C" fn() -> u64>
§reset_broken_node_queue: Option<unsafe extern "C" fn()>
§step: Option<unsafe extern "C" fn()>
§internal__remove_instance: Option<unsafe extern "C" fn(instance_id: u64)>
Implementations§
Source§impl GraphInterpreterDebuggerApi
impl GraphInterpreterDebuggerApi
pub unsafe fn enable_debugger(&self)
pub unsafe fn enable_breakpoints(&self)
pub unsafe fn disable_debugger(&self)
pub unsafe fn disable_breakpoints(&self)
pub unsafe fn is_debugger_enabled(&self) -> bool
pub unsafe fn are_breakpoints_enabled(&self) -> bool
pub unsafe fn is_connected(&self) -> bool
pub unsafe fn is_graph_instances_known(&self, instance_id: u64) -> bool
pub unsafe fn known_graphs( &self, ta: *mut TempAllocatorI, ) -> *const GraphInterpreterDebuggerKnownGraphT
pub unsafe fn instances( &self, graph_id: TtIdT, ta: *mut TempAllocatorI, ) -> *const GraphInterpreterDebuggerKnownGraphT
pub unsafe fn state_pointers(&self) -> GraphInterpreterDebuggerStatePointersT
pub unsafe fn add_graph_information( &self, instance_id: u64, graph: TtIdT, prototype: TtIdT, graph_version: u32, nodes: *const GraphInterpreterNodeT, subgraphs: *mut TtIdT, graph_prototypes: *mut TtIdT, wires_mapping: *mut GraphInterpreterDebuggerWireToIdxT, rewired_connection: *const GraphImportedRewiredConnectionT, rewired_nodes: *const GraphImportedRewiredNodeT, num_nodes: u32, num_graph_prototypes: u32, num_rewired_connection: u32, num_rewired_nodes: u32, num_wires_mapping: u32, num_wires: u32, )
pub unsafe fn node_activity( &self, instance_id: u64, node_unique_id: u64, ) -> ClockO
pub unsafe fn set_node_active(&self, instance_id: u64, node_unique_id: u64)
pub unsafe fn write_wire( &self, instance_id: u64, wire_index: u32, n: u32, data: *const c_void, size: u32, )
pub unsafe fn read_wire( &self, instance_id: u64, wire_id: TtIdT, ) -> GraphInterpreterDebuggerWireT
pub unsafe fn add_breakpoint(&self, graph: TtIdT, node_unique_id: u64)
pub unsafe fn remove_breakpoint(&self, graph: TtIdT, node_unique_id: u64)
pub unsafe fn has_breakpoint(&self, graph: TtIdT, node_unique_id: u64) -> bool
pub unsafe fn break_here(&self, graph: TtIdT, node_unique_id: u64)
pub unsafe fn breakpoint(&self) -> GraphInterpreterDebuggerBreakpointT
pub unsafe fn at_breakpoint(&self) -> bool
pub unsafe fn continue_execution(&self)
pub unsafe fn breakpoints( &self, graph: TtIdT, ta: *mut TempAllocatorI, ) -> *const GraphInterpreterDebuggerBreakpointT
pub unsafe fn add_node_to_broken_queue( &self, gr: *mut GraphInterpreterO, graph: TtIdT, unique_id: u64, idx: u32, )
pub unsafe fn broken_node_queue( &self, ta: *mut TempAllocatorI, ) -> *const GraphInterpreterDebuggerBrokenNodeQueueItemT
pub unsafe fn broken_node_queue_size(&self) -> u64
pub unsafe fn reset_broken_node_queue(&self)
pub unsafe fn step(&self)
Trait Implementations§
Source§impl Api for GraphInterpreterDebuggerApi
impl Api for GraphInterpreterDebuggerApi
Source§impl Clone for GraphInterpreterDebuggerApi
impl Clone for GraphInterpreterDebuggerApi
Source§fn clone(&self) -> GraphInterpreterDebuggerApi
fn clone(&self) -> GraphInterpreterDebuggerApi
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for GraphInterpreterDebuggerApi
impl Default for GraphInterpreterDebuggerApi
Source§fn default() -> GraphInterpreterDebuggerApi
fn default() -> GraphInterpreterDebuggerApi
Returns the “default value” for a type. Read more
impl Copy for GraphInterpreterDebuggerApi
Auto Trait Implementations§
impl Freeze for GraphInterpreterDebuggerApi
impl RefUnwindSafe for GraphInterpreterDebuggerApi
impl Send for GraphInterpreterDebuggerApi
impl Sync for GraphInterpreterDebuggerApi
impl Unpin for GraphInterpreterDebuggerApi
impl UnwindSafe for GraphInterpreterDebuggerApi
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