pub enum IRType {
Struct(IRStruct),
Enum(IREnum),
}Expand description
Type definition in the IR
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IRType
impl<'de> Deserialize<'de> for IRType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IRType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IRType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for IRType
impl Serialize for IRType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for IRType
impl RefUnwindSafe for IRType
impl Send for IRType
impl Sync for IRType
impl Unpin for IRType
impl UnsafeUnpin for IRType
impl UnwindSafe for IRType
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