pub struct WcetKeyAssignment {
pub compile_name: String,
pub display_name: String,
pub hint_key: WcetHintKey,
pub accepted_keys: Vec<String>,
}Expand description
(#1063) The assigned identity for one function: what the backend compiled it
as, what the sidecar displays, the canonical hint key, and every key a
--wcet-hints entry may address it by.
Fields§
§compile_name: StringThe name the backend compiled under (export name, else func_<index>) —
the key composition and the resolved hints map work in.
display_name: StringThe sidecar display name: export name, else the RAW name-section name
(so a consumer can join against symbols), else func_<index>.
hint_key: WcetHintKeyThe canonical hint key + build-locality (see WcetHintKey).
accepted_keys: Vec<String>Every key a hints entry may address this function by (the canonical key,
plus the raw name-section name when it is unambiguous). func_<index>
is deliberately NOT accepted for a function that carries a real name: an
index silently retargets when an unrelated edit renumbers the space,
which is worse than no key (#1063).
Trait Implementations§
Source§impl Clone for WcetKeyAssignment
impl Clone for WcetKeyAssignment
Source§fn clone(&self) -> WcetKeyAssignment
fn clone(&self) -> WcetKeyAssignment
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WcetKeyAssignment
impl Debug for WcetKeyAssignment
impl Eq for WcetKeyAssignment
Source§impl PartialEq for WcetKeyAssignment
impl PartialEq for WcetKeyAssignment
impl StructuralPartialEq for WcetKeyAssignment
Auto Trait Implementations§
impl Freeze for WcetKeyAssignment
impl RefUnwindSafe for WcetKeyAssignment
impl Send for WcetKeyAssignment
impl Sync for WcetKeyAssignment
impl Unpin for WcetKeyAssignment
impl UnsafeUnpin for WcetKeyAssignment
impl UnwindSafe for WcetKeyAssignment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.