pub struct ScopeLifecycleTrace {
pub scope: ScopeId,
pub kind: ScopeLifecycleKind,
}Expand description
Scope lifecycle event emitted by a transaction.
Fields§
§scope: ScopeIdScope whose lifecycle changed.
kind: ScopeLifecycleKindLifecycle transition that occurred.
Trait Implementations§
Source§impl Clone for ScopeLifecycleTrace
impl Clone for ScopeLifecycleTrace
Source§fn clone(&self) -> ScopeLifecycleTrace
fn clone(&self) -> ScopeLifecycleTrace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScopeLifecycleTrace
Source§impl Debug for ScopeLifecycleTrace
impl Debug for ScopeLifecycleTrace
impl Eq for ScopeLifecycleTrace
Source§impl PartialEq for ScopeLifecycleTrace
impl PartialEq for ScopeLifecycleTrace
Source§fn eq(&self, other: &ScopeLifecycleTrace) -> bool
fn eq(&self, other: &ScopeLifecycleTrace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScopeLifecycleTrace
Auto Trait Implementations§
impl Freeze for ScopeLifecycleTrace
impl RefUnwindSafe for ScopeLifecycleTrace
impl Send for ScopeLifecycleTrace
impl Sync for ScopeLifecycleTrace
impl Unpin for ScopeLifecycleTrace
impl UnsafeUnpin for ScopeLifecycleTrace
impl UnwindSafe for ScopeLifecycleTrace
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