pub struct ClassSources {
pub class: String,
pub target: Option<String>,
pub modules: BTreeMap<String, Module>,
pub files: BTreeSet<String>,
pub expected_absent: BTreeMap<String, BTreeMap<String, String>>,
}Expand description
2026-09-30: The kernel sources of one class for one model target.
Fields§
§class: String2026-09-30: Class.
target: Option<String>2026-09-30: class/model/quant resolved, or None when the class has no target for the
model and only its common layer was resolved.
modules: BTreeMap<String, Module>2026-09-30: Module name (source stem after renames) to its source.
files: BTreeSet<String>2026-09-30: Every repo-relative file the resolution compiles or stages (headers too).
expected_absent: BTreeMap<String, BTreeMap<String, String>>2026-09-30: [expected_absent.<module>] entries: module to (function to reason).
Trait Implementations§
Source§impl Clone for ClassSources
impl Clone for ClassSources
Source§fn clone(&self) -> ClassSources
fn clone(&self) -> ClassSources
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 ClassSources
impl Debug for ClassSources
Source§impl Default for ClassSources
impl Default for ClassSources
Source§fn default() -> ClassSources
fn default() -> ClassSources
Returns the “default value” for a type. Read more
Source§impl PartialEq for ClassSources
impl PartialEq for ClassSources
impl Eq for ClassSources
impl StructuralPartialEq for ClassSources
Auto Trait Implementations§
impl Freeze for ClassSources
impl RefUnwindSafe for ClassSources
impl Send for ClassSources
impl Sync for ClassSources
impl Unpin for ClassSources
impl UnwindSafe for ClassSources
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.