pub struct CodebaseValidatorEntry {
pub index: usize,
pub source_module_path: &'static str,
pub source_type_display: &'static str,
pub docs: Option<&'static str>,
pub target_states: Vec<usize>,
/* private fields */
}Expand description
One declared validator-entry surface in the codebase export surface.
Fields§
§index: usizeStable machine-local validator-entry index.
source_module_path: &'static strmodule_path!() for the module that owns the #[validators] impl.
source_type_display: &'static strHuman-facing source syntax for the persisted impl self type as written.
docs: Option<&'static str>Optional longer-form source documentation from outer rustdoc comments.
target_states: Vec<usize>Stable target-state indices in machine state order.
Implementations§
Source§impl CodebaseValidatorEntry
impl CodebaseValidatorEntry
Sourcepub fn display_label(&self) -> Cow<'static, str>
pub fn display_label(&self) -> Cow<'static, str>
Human-facing node label used by text renderers.
Trait Implementations§
Source§impl Clone for CodebaseValidatorEntry
impl Clone for CodebaseValidatorEntry
Source§fn clone(&self) -> CodebaseValidatorEntry
fn clone(&self) -> CodebaseValidatorEntry
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 CodebaseValidatorEntry
impl Debug for CodebaseValidatorEntry
Source§impl PartialEq for CodebaseValidatorEntry
impl PartialEq for CodebaseValidatorEntry
Source§impl Serialize for CodebaseValidatorEntry
impl Serialize for CodebaseValidatorEntry
impl Eq for CodebaseValidatorEntry
impl StructuralPartialEq for CodebaseValidatorEntry
Auto Trait Implementations§
impl Freeze for CodebaseValidatorEntry
impl RefUnwindSafe for CodebaseValidatorEntry
impl Send for CodebaseValidatorEntry
impl Sync for CodebaseValidatorEntry
impl Unpin for CodebaseValidatorEntry
impl UnsafeUnpin for CodebaseValidatorEntry
impl UnwindSafe for CodebaseValidatorEntry
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