Struct odra_ir::InstanceItem
source · pub struct InstanceItem { /* private fields */ }Expand description
Odra module instance definition.
Only a struct can be an instance of Odra module.
Implementations§
source§impl InstanceItem
impl InstanceItem
pub fn parse(input: DeriveInput) -> Result<Self, Error>
pub fn data_struct(&self) -> &DataStruct
pub fn ident(&self) -> &Ident
Auto Trait Implementations§
impl RefUnwindSafe for InstanceItem
impl !Send for InstanceItem
impl !Sync for InstanceItem
impl Unpin for InstanceItem
impl UnwindSafe for InstanceItem
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