Struct GraphInterpreterDebuggerApi

Source
#[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

Source

pub unsafe fn enable_debugger(&self)

Source

pub unsafe fn enable_breakpoints(&self)

Source

pub unsafe fn disable_debugger(&self)

Source

pub unsafe fn disable_breakpoints(&self)

Source

pub unsafe fn is_debugger_enabled(&self) -> bool

Source

pub unsafe fn are_breakpoints_enabled(&self) -> bool

Source

pub unsafe fn is_connected(&self) -> bool

Source

pub unsafe fn is_graph_instances_known(&self, instance_id: u64) -> bool

Source

pub unsafe fn known_graphs( &self, ta: *mut TempAllocatorI, ) -> *const GraphInterpreterDebuggerKnownGraphT

Source

pub unsafe fn instances( &self, graph_id: TtIdT, ta: *mut TempAllocatorI, ) -> *const GraphInterpreterDebuggerKnownGraphT

Source

pub unsafe fn state_pointers(&self) -> GraphInterpreterDebuggerStatePointersT

Source

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, )

Source

pub unsafe fn node_activity( &self, instance_id: u64, node_unique_id: u64, ) -> ClockO

Source

pub unsafe fn set_node_active(&self, instance_id: u64, node_unique_id: u64)

Source

pub unsafe fn write_wire( &self, instance_id: u64, wire_index: u32, n: u32, data: *const c_void, size: u32, )

Source

pub unsafe fn read_wire( &self, instance_id: u64, wire_id: TtIdT, ) -> GraphInterpreterDebuggerWireT

Source

pub unsafe fn add_breakpoint(&self, graph: TtIdT, node_unique_id: u64)

Source

pub unsafe fn remove_breakpoint(&self, graph: TtIdT, node_unique_id: u64)

Source

pub unsafe fn has_breakpoint(&self, graph: TtIdT, node_unique_id: u64) -> bool

Source

pub unsafe fn break_here(&self, graph: TtIdT, node_unique_id: u64)

Source

pub unsafe fn breakpoint(&self) -> GraphInterpreterDebuggerBreakpointT

Source

pub unsafe fn at_breakpoint(&self) -> bool

Source

pub unsafe fn continue_execution(&self)

Source

pub unsafe fn breakpoints( &self, graph: TtIdT, ta: *mut TempAllocatorI, ) -> *const GraphInterpreterDebuggerBreakpointT

Source

pub unsafe fn add_node_to_broken_queue( &self, gr: *mut GraphInterpreterO, graph: TtIdT, unique_id: u64, idx: u32, )

Source

pub unsafe fn broken_node_queue( &self, ta: *mut TempAllocatorI, ) -> *const GraphInterpreterDebuggerBrokenNodeQueueItemT

Source

pub unsafe fn broken_node_queue_size(&self) -> u64

Source

pub unsafe fn reset_broken_node_queue(&self)

Source

pub unsafe fn step(&self)

Trait Implementations§

Source§

impl Api for GraphInterpreterDebuggerApi

Source§

impl Clone for GraphInterpreterDebuggerApi

Source§

fn clone(&self) -> GraphInterpreterDebuggerApi

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for GraphInterpreterDebuggerApi

Source§

fn default() -> GraphInterpreterDebuggerApi

Returns the “default value” for a type. Read more
Source§

impl Copy for GraphInterpreterDebuggerApi

Auto Trait Implementations§

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.