pub struct LinkedValidatorEntryDescriptor {
pub machine: MachineDescriptor,
pub source_module_path: &'static str,
pub source_type_display: &'static str,
pub resolved_source_type_name: fn() -> &'static str,
pub docs: Option<&'static str>,
pub target_states: &'static [&'static str],
}Expand description
One declared validator-entry surface carried by the linked build inventory.
Fields§
§machine: MachineDescriptorRust-facing identity of the rebuilt machine family.
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.
resolved_source_type_name: fn() -> &'static strCompiler-resolved source type identity for this validator impl.
docs: Option<&'static str>Optional longer-form source documentation from outer rustdoc comments.
target_states: &'static [&'static str]State marker names this #[validators] impl can rebuild when it matches.
Trait Implementations§
Source§impl Clone for LinkedValidatorEntryDescriptor
impl Clone for LinkedValidatorEntryDescriptor
Source§fn clone(&self) -> LinkedValidatorEntryDescriptor
fn clone(&self) -> LinkedValidatorEntryDescriptor
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 moreimpl Copy for LinkedValidatorEntryDescriptor
impl Eq for LinkedValidatorEntryDescriptor
Auto Trait Implementations§
impl Freeze for LinkedValidatorEntryDescriptor
impl RefUnwindSafe for LinkedValidatorEntryDescriptor
impl Send for LinkedValidatorEntryDescriptor
impl Sync for LinkedValidatorEntryDescriptor
impl Unpin for LinkedValidatorEntryDescriptor
impl UnsafeUnpin for LinkedValidatorEntryDescriptor
impl UnwindSafe for LinkedValidatorEntryDescriptor
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