pub struct IrGlobal {
pub name: String,
pub ty: SemanticType,
}Expand description
One lowered global.
Fields§
§name: StringGlobal name.
ty: SemanticTypeGlobal type.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IrGlobal
impl<'de> Deserialize<'de> for IrGlobal
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 StructuralPartialEq for IrGlobal
Auto Trait Implementations§
impl Freeze for IrGlobal
impl RefUnwindSafe for IrGlobal
impl Send for IrGlobal
impl Sync for IrGlobal
impl Unpin for IrGlobal
impl UnsafeUnpin for IrGlobal
impl UnwindSafe for IrGlobal
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