pub struct CodebaseLink {
pub index: usize,
pub from_machine: usize,
pub from_state: usize,
pub field_name: Option<&'static str>,
pub to_machine: usize,
pub to_state: usize,
}Expand description
One resolved static cross-machine payload link.
Fields§
§index: usizeStable codebase-local link index.
from_machine: usizeSource machine index.
from_state: usizeSource state index within from_machine.
field_name: Option<&'static str>Named field for named payloads; None for tuple payloads.
to_machine: usizeTarget machine index.
to_state: usizeTarget state index within to_machine.
Implementations§
Source§impl CodebaseLink
impl CodebaseLink
Sourcepub fn display_label(&self) -> &'static str
pub fn display_label(&self) -> &'static str
Human-facing link label used by text renderers.
Trait Implementations§
Source§impl Clone for CodebaseLink
impl Clone for CodebaseLink
Source§fn clone(&self) -> CodebaseLink
fn clone(&self) -> CodebaseLink
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 Debug for CodebaseLink
impl Debug for CodebaseLink
Source§impl PartialEq for CodebaseLink
impl PartialEq for CodebaseLink
Source§impl Serialize for CodebaseLink
impl Serialize for CodebaseLink
impl Copy for CodebaseLink
impl Eq for CodebaseLink
impl StructuralPartialEq for CodebaseLink
Auto Trait Implementations§
impl Freeze for CodebaseLink
impl RefUnwindSafe for CodebaseLink
impl Send for CodebaseLink
impl Sync for CodebaseLink
impl Unpin for CodebaseLink
impl UnsafeUnpin for CodebaseLink
impl UnwindSafe for CodebaseLink
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