Struct debris_mir::mir_object::MirObject
source · pub struct MirObject {
pub id: MirObjectId,
pub defining_context: MirContextId,
pub local_namespace_id: MirLocalNamespaceId,
}
Expand description
A duck-typed object. A MirObject
contains all attributes that it needs to have in order
to compile.
Fields§
§id: MirObjectId
§defining_context: MirContextId
§local_namespace_id: MirLocalNamespaceId
Implementations§
source§impl MirObject
impl MirObject
pub fn new_in( namespace: &mut MirNamespace, context: MirContextId, id: MirObjectId ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MirObject
impl Send for MirObject
impl Sync for MirObject
impl Unpin for MirObject
impl UnwindSafe for MirObject
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