Struct Int

Source
pub struct Int;
Expand description

A type-level representation of the kind of a int tensor.

Trait Implementations§

Source§

impl<B> BasicAutodiffOps<B> for Int
where B: AutodiffBackend,

Source§

type InnerKind = Int

Inner primitive tensor.
Source§

fn inner( tensor: <Int as TensorKind<B>>::Primitive, ) -> <<Int as BasicAutodiffOps<B>>::InnerKind as TensorKind<<B as AutodiffBackend>::InnerBackend>>::Primitive

Returns the inner tensor without the autodiff information. Read more
Source§

fn from_inner( inner: <<Int as BasicAutodiffOps<B>>::InnerKind as TensorKind<<B as AutodiffBackend>::InnerBackend>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Convert a tensor to the autodiff backend. Read more
Source§

impl<B> BasicOps<B> for Int
where B: Backend,

Source§

type Elem = <B as Backend>::IntElem

The type of the tensor elements.
Source§

fn empty( shape: Shape, device: &<B as Backend>::Device, ) -> <Int as TensorKind<B>>::Primitive

Creates an empty tensor with the given shape. Read more
Source§

fn register_transaction( tr: &mut Transaction<B>, tensor: <Int as TensorKind<B>>::Primitive, )

Read the data from the tensor using a transaction. Read more
Source§

fn reshape( tensor: <Int as TensorKind<B>>::Primitive, shape: Shape, ) -> <Int as TensorKind<B>>::Primitive

Reshapes the tensor. Read more
Source§

fn transpose( tensor: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Transposes a tensor. Read more
Source§

fn swap_dims( tensor: <Int as TensorKind<B>>::Primitive, dim1: usize, dim2: usize, ) -> <Int as TensorKind<B>>::Primitive

Swaps two dimensions of a tensor. Read more
Source§

fn slice( tensor: <Int as TensorKind<B>>::Primitive, ranges: &[Range<usize>], ) -> <Int as TensorKind<B>>::Primitive

Select tensor elements corresponding for the given ranges. Read more
Source§

fn slice_assign( tensor: <Int as TensorKind<B>>::Primitive, ranges: &[Range<usize>], value: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Assigns the given value to the tensor elements corresponding for the given ranges. Read more
Source§

fn device(tensor: &<Int as TensorKind<B>>::Primitive) -> <B as Backend>::Device

Returns the device on which the tensor is allocated. Read more
Source§

fn to_device( tensor: <Int as TensorKind<B>>::Primitive, device: &<B as Backend>::Device, ) -> <Int as TensorKind<B>>::Primitive

Moves the tensor to the given device. Read more
Source§

async fn into_data_async( tensor: <Int as TensorKind<B>>::Primitive, ) -> TensorData

Extracts the data from the tensor asynchronously. Read more
Source§

fn from_data( data: TensorData, device: &<B as Backend>::Device, ) -> <Int as TensorKind<B>>::Primitive

Creates a tensor from the given data. Read more
Source§

fn from_data_dtype( data: TensorData, device: &<B as Backend>::Device, dtype: DType, ) -> <Int as TensorKind<B>>::Primitive

Creates a tensor from the given data enforcing the given data type. Read more
Source§

fn repeat_dim( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, times: usize, ) -> <Int as TensorKind<B>>::Primitive

Repeat the tensor along the given dimension. Read more
Source§

fn equal( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as TensorKind<B>>::Primitive, ) -> <B as Backend>::BoolTensorPrimitive

Equates the given tensors. Read more
Source§

fn not_equal( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as TensorKind<B>>::Primitive, ) -> <B as Backend>::BoolTensorPrimitive

Applies element-wise non-equality comparison between the given tensors. Read more
Source§

fn cat( vectors: Vec<<Int as TensorKind<B>>::Primitive>, dim: usize, ) -> <Int as TensorKind<B>>::Primitive

Concatenates the given tensors along the given dimension. Read more
Source§

fn any( tensor: <Int as TensorKind<B>>::Primitive, ) -> <B as Backend>::BoolTensorPrimitive

Tests if any element in the tensor evaluates to True. Read more
Source§

fn any_dim( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, ) -> <B as Backend>::BoolTensorPrimitive

Tests if any element in the tensor evaluates to True along a given dimension dim. Read more
Source§

fn all( tensor: <Int as TensorKind<B>>::Primitive, ) -> <B as Backend>::BoolTensorPrimitive

Tests if all elements in the tensor evaluate to True. Read more
Source§

fn all_dim( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, ) -> <B as Backend>::BoolTensorPrimitive

Tests if all elements in the tensor evaluate to True along a given dimension dim. Read more
Source§

fn permute( tensor: <Int as TensorKind<B>>::Primitive, axes: &[usize], ) -> <Int as TensorKind<B>>::Primitive

Permutes the dimensions of a tensor. Read more
Source§

fn expand( tensor: <Int as TensorKind<B>>::Primitive, shape: Shape, ) -> <Int as TensorKind<B>>::Primitive

Broadcasts the given tensor to the specified shape. Read more
Source§

fn flip( tensor: <Int as TensorKind<B>>::Primitive, axes: &[usize], ) -> <Int as TensorKind<B>>::Primitive

Flips the tensor along the given axes. Read more
Source§

fn chunk( tensor: <Int as TensorKind<B>>::Primitive, chunks: usize, dim: usize, ) -> Vec<<Int as TensorKind<B>>::Primitive>

Attempts to split the tensor along the given dimension into chunks. May return less chunks than requested if the tensor size is not divisible by the number of chunks. Read more
Source§

fn split( tensor: <Int as TensorKind<B>>::Primitive, split_size: usize, dim: usize, ) -> Vec<<Int as TensorKind<B>>::Primitive>

Splits the tensor into chunks of a specified size along a given dimension. Each chunk is a view of the original tensor. Read more
Source§

fn split_with_sizes( tensor: <Int as TensorKind<B>>::Primitive, split_sizes: Vec<usize>, dim: usize, ) -> Vec<<Int as TensorKind<B>>::Primitive>

Splits the tensor into chunks with the specified sizes along a given dimension. Each chunk is a view of the original tensor. Read more
Source§

fn elem_type_name() -> &'static str

Returns the name of the element type.
Source§

fn dtype(tensor: &Self::Primitive) -> DType

Returns the tensor data type.
Source§

impl Clone for Int

Source§

fn clone(&self) -> Int

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Int

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<B> Numeric<B> for Int
where B: Backend,

Source§

fn add( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Adds two tensors together. Read more
Source§

fn add_scalar<E>( lhs: <Int as TensorKind<B>>::Primitive, rhs: E, ) -> <Int as TensorKind<B>>::Primitive

Adds a scalar to a tensor element-wise. Read more
Source§

fn sub( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Subtracts two tensors. Read more
Source§

fn sub_scalar<E>( lhs: <Int as TensorKind<B>>::Primitive, rhs: E, ) -> <Int as TensorKind<B>>::Primitive

Subtracts a scalar from a tensor element-wise. Read more
Source§

fn div( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Divides two tensors. Read more
Source§

fn div_scalar<E>( lhs: <Int as TensorKind<B>>::Primitive, rhs: E, ) -> <Int as TensorKind<B>>::Primitive

Divides a tensor by a scalar element-wise. Read more
Source§

fn remainder( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Computes the modulo element-wise. The result is the signed remainder of the division and its absolute value is less than that of the divisor. Read more
Source§

fn remainder_scalar<E>( lhs: <Int as TensorKind<B>>::Primitive, rhs: E, ) -> <Int as TensorKind<B>>::Primitive

Computes the modulo element-wise. The result is the signed remainder of the division and its absolute value is less than that of the divisor. Read more
Source§

fn mul( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Multiplies two tensors. Read more
Source§

fn mul_scalar<E>( lhs: <Int as TensorKind<B>>::Primitive, rhs: E, ) -> <Int as TensorKind<B>>::Primitive

Multiplies a tensor by a scalar element-wise. Read more
Source§

fn neg( tensor: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Negates a tensor. Read more
Source§

fn zeros( shape: Shape, device: &<B as Backend>::Device, ) -> <Int as TensorKind<B>>::Primitive

Creates a tensor filled with zeros. Read more
Source§

fn ones( shape: Shape, device: &<B as Backend>::Device, ) -> <Int as TensorKind<B>>::Primitive

Creates a tensor filled with ones. Read more
Source§

fn full<E>( shape: Shape, fill_value: E, device: &<B as Backend>::Device, ) -> <Int as TensorKind<B>>::Primitive

Creates a tensor filled with elements equal to the given value. Read more
Source§

fn sum( tensor: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Sums all the elements of the tensor. Read more
Source§

fn sum_dim( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, ) -> <Int as TensorKind<B>>::Primitive

Sums all the elements of the tensor along a dimension. Read more
Source§

fn prod( tensor: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Computes the product of all the elements of the tensor. Read more
Source§

fn prod_dim( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, ) -> <Int as TensorKind<B>>::Primitive

Computes the product of all the elements of the tensor along a dimension. Read more
Source§

fn mean( tensor: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Computes the mean of all the elements of the tensor. Read more
Source§

fn mean_dim( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, ) -> <Int as TensorKind<B>>::Primitive

Computes the mean of all the elements of the tensor along a dimension. Read more
Source§

fn equal_elem( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as BasicOps<B>>::Elem, ) -> <B as Backend>::BoolTensorPrimitive

Element-wise equality between two tensors. Read more
Source§

fn not_equal_elem( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as BasicOps<B>>::Elem, ) -> <B as Backend>::BoolTensorPrimitive

Element-wise non-equality between two tensors. Read more
Source§

fn greater( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as TensorKind<B>>::Primitive, ) -> <B as Backend>::BoolTensorPrimitive

Element-wise greater than comparison between two tensors. Read more
Source§

fn greater_elem( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as BasicOps<B>>::Elem, ) -> <B as Backend>::BoolTensorPrimitive

Element-wise greater than comparison between a tensor and a scalar. Read more
Source§

fn greater_equal( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as TensorKind<B>>::Primitive, ) -> <B as Backend>::BoolTensorPrimitive

Element-wise greater than or equal comparison between two tensors. Read more
Source§

fn greater_equal_elem( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as BasicOps<B>>::Elem, ) -> <B as Backend>::BoolTensorPrimitive

Element-wise greater than or equal comparison between a tensor and a scalar. Read more
Source§

fn lower( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as TensorKind<B>>::Primitive, ) -> <B as Backend>::BoolTensorPrimitive

Element-wise less than comparison between two tensors. Read more
Source§

fn lower_elem( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as BasicOps<B>>::Elem, ) -> <B as Backend>::BoolTensorPrimitive

Element-wise less than comparison between a tensor and a scalar. Read more
Source§

fn lower_equal( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as TensorKind<B>>::Primitive, ) -> <B as Backend>::BoolTensorPrimitive

Element-wise less than or equal comparison between two tensors. Read more
Source§

fn lower_equal_elem( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as BasicOps<B>>::Elem, ) -> <B as Backend>::BoolTensorPrimitive

Element-wise less than or equal comparison between a tensor and a scalar. Read more
Source§

fn mask_where( tensor: <Int as TensorKind<B>>::Primitive, mask: <B as Backend>::BoolTensorPrimitive, source: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Selects elements from a tensor based on a boolean mask. Read more
Source§

fn mask_fill( tensor: <Int as TensorKind<B>>::Primitive, mask: <B as Backend>::BoolTensorPrimitive, value: <Int as BasicOps<B>>::Elem, ) -> <Int as TensorKind<B>>::Primitive

Fills elements of a tensor based on a boolean mask. Read more
Source§

fn select( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, indices: Tensor<B, 1, Int>, ) -> <Int as TensorKind<B>>::Primitive

Select tensor elements along the given dimension corresponding for the given indices. Read more
Source§

fn select_assign( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, indices: Tensor<B, 1, Int>, values: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Assign the selected elements along the given dimension corresponding to the given indices from the value tensor. Read more
Source§

fn gather( dim: usize, tensor: <Int as TensorKind<B>>::Primitive, indices: <B as Backend>::IntTensorPrimitive, ) -> <Int as TensorKind<B>>::Primitive

Gathers elements from a tensor along an axis. Read more
Source§

fn scatter( dim: usize, tensor: <Int as TensorKind<B>>::Primitive, indices: <B as Backend>::IntTensorPrimitive, values: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Scatters elements into a tensor along an axis. Read more
Source§

fn argmax( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, ) -> <B as Backend>::IntTensorPrimitive

Gets the indices of the maximum elements of a tensor along an axis. Read more
Source§

fn argmin( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, ) -> <B as Backend>::IntTensorPrimitive

Gets the indices of the minimum elements of a tensor along an axis. Read more
Source§

fn max( tensor: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Gets the maximum elements of a tensor along an axis. Read more
Source§

fn max_dim( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, ) -> <Int as TensorKind<B>>::Primitive

Gets the maximum elements of a tensor along an axis. Read more
Source§

fn max_dim_with_indices( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, ) -> (<Int as TensorKind<B>>::Primitive, <B as Backend>::IntTensorPrimitive)

Gets the maximum elements of a tensor along an axis. Read more
Source§

fn max_abs( tensor: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Gets the maximum elements of a tensor along an axis. Read more
Source§

fn max_abs_dim( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, ) -> <Int as TensorKind<B>>::Primitive

Gets the maximum elements of a tensor along an axis. Read more
Source§

fn min( tensor: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Gets the minimum elements of a tensor along an axis. Read more
Source§

fn min_dim( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, ) -> <Int as TensorKind<B>>::Primitive

Gets the minimum elements of a tensor along an axis. Read more
Source§

fn min_dim_with_indices( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, ) -> (<Int as TensorKind<B>>::Primitive, <B as Backend>::IntTensorPrimitive)

Gets the minimum elements and indices of a tensor along an axis. Read more
Source§

fn clamp( tensor: <Int as TensorKind<B>>::Primitive, min: <B as Backend>::IntElem, max: <B as Backend>::IntElem, ) -> <Int as TensorKind<B>>::Primitive

Clamp the tensor between the given min and max values. Read more
Source§

fn clamp_min( tensor: <Int as TensorKind<B>>::Primitive, min: <B as Backend>::IntElem, ) -> <Int as TensorKind<B>>::Primitive

Clamps a tensor under a minimum value. Read more
Source§

fn clamp_max( tensor: <Int as TensorKind<B>>::Primitive, max: <B as Backend>::IntElem, ) -> <Int as TensorKind<B>>::Primitive

Clamps a tensor over a maximum value. Read more
Source§

fn abs( tensor: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Calculate absolute value on all elements of a tensor Read more
Source§

fn powf( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Element-wise power of a tensor to a float tensor Read more
Source§

fn powf_scalar<E>( lhs: <Int as TensorKind<B>>::Primitive, rhs: E, ) -> <Int as TensorKind<B>>::Primitive

Element-wise power of a tensor to a scalar float Read more
Source§

fn powi( lhs: <Int as TensorKind<B>>::Primitive, rhs: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Element-wise power of a tensor Read more
Source§

fn powi_scalar<E>( lhs: <Int as TensorKind<B>>::Primitive, rhs: E, ) -> <Int as TensorKind<B>>::Primitive

Element-wise power of a tensor to a scalar int Read more
Source§

fn random( shape: Shape, distribution: Distribution, device: &<B as Backend>::Device, ) -> <Int as TensorKind<B>>::Primitive

Create a random tensor. Read more
Source§

fn sign( tensor: <Int as TensorKind<B>>::Primitive, ) -> <Int as TensorKind<B>>::Primitive

Returns the signs of the elements of a tensor. Read more
Source§

fn sort( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, descending: bool, ) -> <Int as TensorKind<B>>::Primitive

Sort the elements of the input tensor by value along a given dimension. Read more
Source§

fn sort_with_indices( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, descending: bool, ) -> (<Int as TensorKind<B>>::Primitive, <Int as TensorKind<B>>::Primitive)

Sort the elements of the input tensor by value along a given dimension. Read more
Source§

fn argsort( tensor: <Int as TensorKind<B>>::Primitive, dim: usize, descending: bool, ) -> <Int as TensorKind<B>>::Primitive

Returns the indices that sort the elements of the input tensor by value along a given dimension. Read more
Source§

impl<B> TensorKind<B> for Int
where B: Backend,

Source§

type Primitive = <B as Backend>::IntTensorPrimitive

The primitive type of the tensor.
Source§

fn name() -> &'static str

The name of the tensor kind.

Auto Trait Implementations§

§

impl Freeze for Int

§

impl RefUnwindSafe for Int

§

impl Send for Int

§

impl Sync for Int

§

impl Unpin for Int

§

impl UnwindSafe for Int

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T