Struct Span
pub(crate) struct Span { pub(in ::bridge::client) handle: NonZero<u32> }
Fields
handle: NonZero<u32>
Implementations
impl Span
fn def_site() -> Spanfn call_site() -> Spanfn mixed_site() -> Span
Trait Implementations
impl !Send for Span
impl !Sync for Span
impl Clone for Span
fn clone(&self) -> Span
impl Copy for Span
impl Debug for Span
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for Span
fn assert_fields_are_eq(&self)
impl Hash for Span
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for Span
fn eq(&self, other: &Span) -> bool
impl StructuralPartialEq for Span
impl TrivialClone for Span
impl<S> Decode<'_, '_, S> for Span
fn decode(r: &mut &[u8], s: &mut S) -> Self
impl<S> Encode<S> for Span
fn encode(self, w: &mut Buffer, s: &mut S)
Auto Trait Implementations
impl Freeze for Span
impl RefUnwindSafe for Span
impl Unpin for Span
impl UnsafeUnpin for Span
impl UnwindSafe for Span
Blanket Implementations
impl<T> Any for Span
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Span
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Span
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for Span
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for Span
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Printable for Span
where
T: Copy + Debug,
impl<T> SizeHint for Span
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for Span
impl<T> ToOwned for Span
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for Span
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Span
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Span
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>