pub struct Instance {
pub id: u64,
pub span: Span,
/* private fields */
}Expand description
One entity instance from a data section.
Fields§
§id: u64The instance name: 123 for #123.
span: SpanSource bytes from the # of the name through the terminating ;.
Implementations§
Trait Implementations§
impl Eq for Instance
impl StructuralPartialEq for Instance
Auto Trait Implementations§
impl Freeze for Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnsafeUnpin for Instance
impl UnwindSafe for Instance
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