pub struct Span<M = &'static Metadata<'static>>{
pub id: Id,
pub metadata: M,
}
Expand description
A Span
, represented by its Id
and metadata.
Fields§
§id: Id
§metadata: M
Trait Implementations§
impl<M> Eq for Span<M>
Auto Trait Implementations§
impl<M> Freeze for Span<M>where
M: Freeze,
impl<M> RefUnwindSafe for Span<M>where
M: RefUnwindSafe,
impl<M> Send for Span<M>where
M: Send,
impl<M> Sync for Span<M>where
M: Sync,
impl<M> Unpin for Span<M>where
M: Unpin,
impl<M> UnwindSafe for Span<M>where
M: UnwindSafe,
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