pub struct FrontendMeta {
pub language: FrontendLanguage,
pub frontend_version: String,
pub source_module: Option<String>,
pub source_hash: Option<String>,
pub metadata: IndexMap<String, String>,
}Expand description
Identifying metadata for the compiler frontend that emitted the IR.
Fields§
§language: FrontendLanguage§frontend_version: String§source_module: Option<String>§source_hash: Option<String>§metadata: IndexMap<String, String>Trait Implementations§
Source§impl Clone for FrontendMeta
impl Clone for FrontendMeta
Source§impl Debug for FrontendMeta
impl Debug for FrontendMeta
Source§impl<'de> Deserialize<'de> for FrontendMeta
impl<'de> Deserialize<'de> for FrontendMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FrontendMeta
Source§impl PartialEq for FrontendMeta
impl PartialEq for FrontendMeta
Source§impl Serialize for FrontendMeta
impl Serialize for FrontendMeta
impl StructuralPartialEq for FrontendMeta
Auto Trait Implementations§
impl Forget for FrontendMeta
impl Freeze for FrontendMetawhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, String>>: Freeze,
impl Move for FrontendMeta
impl RefUnwindSafe for FrontendMeta
impl Send for FrontendMeta
impl Sync for FrontendMeta
impl Unpin for FrontendMeta
impl UnsafeUnpin for FrontendMetawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, String>>: UnsafeUnpin,
impl UnwindSafe for FrontendMeta
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.