pub struct MixedGeometryArray<O: OffsetSizeTrait> { /* private fields */ }
Expand description

Invariants

  • All arrays must have the same dimension
  • All arrays must have the same coordinate layout (interleaved or separated)

Implementations§

source§

impl<O: OffsetSizeTrait> MixedGeometryArray<O>

source

pub fn new( type_ids: ScalarBuffer<i8>, offsets: ScalarBuffer<i32>, points: Option<PointArray>, line_strings: Option<LineStringArray<O>>, polygons: Option<PolygonArray<O>>, multi_points: Option<MultiPointArray<O>>, multi_line_strings: Option<MultiLineStringArray<O>>, multi_polygons: Option<MultiPolygonArray<O>>, metadata: Arc<ArrayMetadata> ) -> Self

Create a new MixedGeometryArray from parts

Implementation

This function is O(1).

Panics
  • if the validity is not None and its length is different from the number of geometries
  • if the largest geometry offset does not match the number of coordinates
source

pub fn buffer_lengths(&self) -> MixedCapacity

The lengths of each buffer contained in this array.

source

pub fn has_points(&self) -> bool

source

pub fn has_line_strings(&self) -> bool

source

pub fn has_polygons(&self) -> bool

source

pub fn has_multi_points(&self) -> bool

source

pub fn has_multi_line_strings(&self) -> bool

source

pub fn has_multi_polygons(&self) -> bool

source

pub fn num_bytes(&self) -> usize

The number of bytes occupied by this array.

source§

impl<O: OffsetSizeTrait> MixedGeometryArray<O>

source

pub fn iter_geo_values(&self) -> impl Iterator<Item = Geometry> + '_

Iterator over geo Geometry objects, not looking at validity

source

pub fn iter_geo(&self) -> impl Iterator<Item = Option<Geometry>> + '_

Iterator over geo Geometry objects, taking into account validity

source

pub fn value_as_geos(&self, i: usize) -> Geometry<'_>

Returns the value at slot i as a GEOS geometry.

source

pub fn get_as_geos(&self, i: usize) -> Option<Geometry<'_>>

Gets the value at slot i as a GEOS geometry, additionally checking the validity bitmap

source

pub fn iter_geos_values(&self) -> impl Iterator<Item = Geometry<'_>> + '_

Iterator over GEOS geometry objects

source

pub fn iter_geos(&self) -> impl Iterator<Item = Option<Geometry<'_>>> + '_

Iterator over GEOS geometry objects, taking validity into account

source§

impl<'a, O: OffsetSizeTrait> MixedGeometryArray<O>

source

pub fn iter(&'a self) -> MixedGeometryArrayIter<'_, O>

Returns an iterator of Option<Geometry>

Trait Implementations§

source§

impl<O: OffsetSizeTrait> AffineOps<&[AffineTransform]> for MixedGeometryArray<O>

§

type Output = MixedGeometryArray<O>

source§

fn affine_transform(&self, transform: &[AffineTransform]) -> Self::Output

Apply transform immutably, outputting a new geometry.
source§

impl<O: OffsetSizeTrait> AffineOps<&AffineTransform> for MixedGeometryArray<O>

§

type Output = MixedGeometryArray<O>

source§

fn affine_transform(&self, transform: &AffineTransform) -> Self::Output

Apply transform immutably, outputting a new geometry.
source§

impl<O: OffsetSizeTrait> Area for MixedGeometryArray<O>

source§

impl<O: OffsetSizeTrait> Area for MixedGeometryArray<O>

source§

impl<O: OffsetSizeTrait> BoundingRect for MixedGeometryArray<O>

§

type Output = RectArray

source§

fn bounding_rect(&self) -> Self::Output

Return the bounding rectangle of a geometry Read more
source§

impl<O: OffsetSizeTrait> Cast for MixedGeometryArray<O>

source§

fn cast(&self, to_type: &GeoDataType) -> Self::Output

TODO: in the future, do more validation before trying to fill all geometries

§

type Output = Result<Arc<dyn GeometryArrayTrait>, GeoArrowError>

source§

impl<O: OffsetSizeTrait> Center for MixedGeometryArray<O>

§

type Output = PointArray

source§

fn center(&self) -> Self::Output

source§

impl<O: OffsetSizeTrait> Centroid for MixedGeometryArray<O>

source§

impl<O: OffsetSizeTrait> ChamberlainDuquetteArea for MixedGeometryArray<O>

source§

impl<O: Clone + OffsetSizeTrait> Clone for MixedGeometryArray<O>

source§

fn clone(&self) -> MixedGeometryArray<O>

Returns a copy 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<O: OffsetSizeTrait, O2: OffsetSizeTrait> ConvexHull<O> for MixedGeometryArray<O2>

§

type Output = PolygonArray<O>

source§

fn convex_hull(&self) -> Self::Output

source§

impl<O: Debug + OffsetSizeTrait> Debug for MixedGeometryArray<O>

source§

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

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

impl<O: OffsetSizeTrait> Default for MixedGeometryArray<O>

Default to an empty array

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<O: OffsetSizeTrait> Downcast for MixedGeometryArray<O>

§

type Output = Arc<dyn GeometryArrayTrait>

source§

fn downcasted_data_type(&self, small_offsets: bool) -> GeoDataType

The data type that downcasting would result in.
source§

fn downcast(&self, small_offsets: bool) -> Self::Output

If possible, convert this array to a simpler and/or smaller data type Read more
source§

impl<A: OffsetSizeTrait, B: OffsetSizeTrait> From<&MixedGeometryArray<A>> for WKBArray<B>

source§

fn from(value: &MixedGeometryArray<A>) -> Self

Converts to this type from the input type.
source§

impl From<MixedGeometryArray<i32>> for MixedGeometryArray<i64>

source§

fn from(value: MixedGeometryArray<i32>) -> Self

Converts to this type from the input type.
source§

impl<O: OffsetSizeTrait> From<MixedGeometryBuilder<O>> for MixedGeometryArray<O>

source§

fn from(other: MixedGeometryBuilder<O>) -> Self

Converts to this type from the input type.
source§

impl<OOutput: OffsetSizeTrait> FromEWKB for MixedGeometryArray<OOutput>

§

type Input<O: OffsetSizeTrait> = WKBArray<O>

source§

fn from_ewkb<O: OffsetSizeTrait>( arr: &Self::Input<O>, coord_type: CoordType, metadata: Arc<ArrayMetadata>, prefer_multi: bool ) -> Result<Self>

source§

impl<OOutput: OffsetSizeTrait> FromWKB for MixedGeometryArray<OOutput>

§

type Input<O: OffsetSizeTrait> = WKBArray<O>

source§

fn from_wkb<O: OffsetSizeTrait>( arr: &WKBArray<O>, coord_type: CoordType ) -> Result<Self>

source§

impl<OOutput: OffsetSizeTrait> FromWKT for MixedGeometryArray<OOutput>

§

type Input<O: OffsetSizeTrait> = GenericByteArray<GenericStringType<O>>

source§

fn from_wkt<O: OffsetSizeTrait>( arr: &Self::Input<O>, coord_type: CoordType, metadata: Arc<ArrayMetadata>, prefer_multi: bool ) -> Result<Self>

source§

impl<O: OffsetSizeTrait> GeodesicArea for MixedGeometryArray<O>

§

type OutputSingle = PrimitiveArray<Float64Type>

§

type OutputDouble = (PrimitiveArray<Float64Type>, PrimitiveArray<Float64Type>)

source§

fn geodesic_perimeter(&self) -> Self::OutputSingle

Determine the perimeter of a geometry on an ellipsoidal model of the earth. Read more
source§

fn geodesic_area_signed(&self) -> Self::OutputSingle

Determine the area of a geometry on an ellipsoidal model of the earth. Read more
source§

fn geodesic_area_unsigned(&self) -> Self::OutputSingle

Determine the area of a geometry on an ellipsoidal model of the earth. Supports very large geometries that cover a significant portion of the earth. Read more
source§

fn geodesic_perimeter_area_signed(&self) -> Self::OutputDouble

Determine the perimeter and area of a geometry on an ellipsoidal model of the earth, all in one operation. Read more
source§

fn geodesic_perimeter_area_unsigned(&self) -> Self::OutputDouble

Determine the perimeter and area of a geometry on an ellipsoidal model of the earth, all in one operation. Supports very large geometries that cover a significant portion of the earth. Read more
source§

impl<'a, O: OffsetSizeTrait> GeometryArrayAccessor<'a> for MixedGeometryArray<O>

§

type Item = Geometry<'a, O>

The geoarrow scalar object for this geometry array type.
§

type ItemGeo = Geometry

The geo scalar object for this geometry array type.
source§

unsafe fn value_unchecked(&'a self, index: usize) -> Self::Item

Returns the element at index i Read more
source§

fn value(&'a self, index: usize) -> Self::Item

Returns the element at index i Read more
source§

fn get(&'a self, index: usize) -> Option<Self::Item>

Access the value at slot i as an Arrow scalar, considering validity.
source§

fn value_as_geo(&'a self, i: usize) -> Self::ItemGeo

Access the value at slot i as a geo scalar, not considering validity.
source§

fn get_as_geo(&'a self, i: usize) -> Option<Self::ItemGeo>

Access the value at slot i as a geo scalar, considering validity.
source§

impl<O: OffsetSizeTrait> GeometryArraySelfMethods for MixedGeometryArray<O>

source§

fn slice(&self, offset: usize, length: usize) -> Self

Slices this MixedGeometryArray in place.

Implementation

This operation is O(F) where F is the number of fields.

Panic

This function panics iff offset + length >= self.len().

source§

fn with_coords(self, _coords: CoordBuffer) -> Self

Create a new array with replaced coordinates Read more
source§

fn into_coord_type(self, _coord_type: CoordType) -> Self

Cast the coordinate buffer of this geometry array to the given coordinate type.
source§

fn owned_slice(&self, _offset: usize, _length: usize) -> Self

A slice that fully copies the contents of the underlying buffer
source§

impl<O: OffsetSizeTrait> GeometryArrayTrait for MixedGeometryArray<O>

source§

fn len(&self) -> usize

Returns the number of geometries in this array

source§

fn validity(&self) -> Option<&NullBuffer>

Returns the optional validity.

source§

fn as_any(&self) -> &dyn Any

Returns the array as Any so that it can be downcasted to a specific implementation. Read more
source§

fn data_type(&self) -> &GeoDataType

Returns a reference to the GeoDataType of this array. Read more
source§

fn storage_type(&self) -> DataType

Get the logical DataType of this array.
source§

fn extension_field(&self) -> Arc<Field>

Get the extension type of this array, as defined by the GeoArrow specification. Read more
source§

fn extension_name(&self) -> &str

Get the extension name of this array.
source§

fn into_array_ref(self) -> Arc<dyn Array>

Convert this array into an arced arrow array. Read more
source§

fn to_array_ref(&self) -> ArrayRef

source§

fn coord_type(&self) -> CoordType

Get the coordinate type of this geometry array, either interleaved or separated.
source§

fn metadata(&self) -> Arc<ArrayMetadata>

source§

fn as_ref(&self) -> &dyn GeometryArrayTrait

source§

fn is_empty(&self) -> bool

Returns true if the array is empty.
source§

fn nulls(&self) -> Option<&NullBuffer>

source§

fn logical_nulls(&self) -> Option<NullBuffer>

source§

fn null_count(&self) -> usize

The number of null slots in this array. Read more
source§

fn is_null(&self, i: usize) -> bool

Returns whether slot i is null. Read more
source§

fn is_valid(&self, i: usize) -> bool

Returns whether slot i is valid. Read more
source§

impl<O: OffsetSizeTrait> GeozeroGeometry for MixedGeometryArray<O>

source§

fn process_geom<P: GeomProcessor>(&self, processor: &mut P) -> Result<()>
where Self: Sized,

Process geometry.
source§

fn dims(&self) -> CoordDimensions

Dimensions of geometry
source§

fn srid(&self) -> Option<i32>

SRID of geometry
source§

impl<O: OffsetSizeTrait> HasDimensions for MixedGeometryArray<O>

§

type Output = BooleanArray

source§

fn is_empty(&self) -> Self::Output

Some geometries, like a MultiPoint, can have zero coordinates - we call these empty. Read more
source§

impl<O: OffsetSizeTrait> IntoArrow for MixedGeometryArray<O>

source§

impl<O: OffsetSizeTrait> IsRing for MixedGeometryArray<O>

source§

impl<O: OffsetSizeTrait> IsValid for MixedGeometryArray<O>

§

type Output = BooleanArray

source§

fn is_valid(&self) -> Self::Output

source§

impl<OOutput: OffsetSizeTrait, OInput: OffsetSizeTrait> MinimumRotatedRect<OOutput> for MixedGeometryArray<OInput>

§

type Output = PolygonArray<OOutput>

source§

fn minimum_rotated_rect(&self) -> Self::Output

source§

impl<O: PartialEq + OffsetSizeTrait> PartialEq for MixedGeometryArray<O>

source§

fn eq(&self, other: &MixedGeometryArray<O>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, O: OffsetSizeTrait> RTree<'a> for MixedGeometryArray<O>

§

type RTreeObject = CachedEnvelope<Geometry<'a, O>>

The object type to store in the RTree.
source§

fn rstar_tree(&'a self) -> RTree<Self::RTreeObject>

Build an RTree spatial index containing this array’s geometries.
source§

impl<O: OffsetSizeTrait> Rechunk for MixedGeometryArray<O>

source§

impl<O: OffsetSizeTrait> Take for MixedGeometryArray<O>

§

type Output = Result<MixedGeometryArray<O>, GeoArrowError>

source§

fn take(&self, indices: &UInt32Array) -> Self::Output

source§

fn take_range(&self, range: &Range<usize>) -> Self::Output

source§

impl<O: OffsetSizeTrait, G: GeometryTrait<T = f64>> TryFrom<&[G]> for MixedGeometryArray<O>

§

type Error = GeoArrowError

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

fn try_from(geoms: &[G]) -> Result<Self>

Performs the conversion.
source§

impl<O: OffsetSizeTrait, G: GeometryTrait<T = f64>> TryFrom<&[Option<G>]> for MixedGeometryArray<O>

§

type Error = GeoArrowError

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

fn try_from(geoms: &[Option<G>]) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&UnionArray> for MixedGeometryArray<i32>

§

type Error = GeoArrowError

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

fn try_from(value: &UnionArray) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&UnionArray> for MixedGeometryArray<i64>

§

type Error = GeoArrowError

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

fn try_from(value: &UnionArray) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&dyn Array> for MixedGeometryArray<i32>

§

type Error = GeoArrowError

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

fn try_from(value: &dyn Array) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<&dyn Array> for MixedGeometryArray<i64>

§

type Error = GeoArrowError

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

fn try_from(value: &dyn Array) -> Result<Self>

Performs the conversion.
source§

impl TryFrom<MixedGeometryArray<i64>> for MixedGeometryArray<i32>

§

type Error = GeoArrowError

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

fn try_from(value: MixedGeometryArray<i64>) -> Result<Self>

Performs the conversion.
source§

impl<O: OffsetSizeTrait> TryFrom<WKBArray<O>> for MixedGeometryArray<O>

§

type Error = GeoArrowError

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

fn try_from(value: WKBArray<O>) -> Result<Self>

Performs the conversion.
source§

impl<O: OffsetSizeTrait> StructuralPartialEq for MixedGeometryArray<O>

Auto Trait Implementations§

§

impl<O> RefUnwindSafe for MixedGeometryArray<O>
where O: RefUnwindSafe,

§

impl<O> Send for MixedGeometryArray<O>

§

impl<O> Sync for MixedGeometryArray<O>

§

impl<O> Unpin for MixedGeometryArray<O>
where O: Unpin,

§

impl<O> UnwindSafe for MixedGeometryArray<O>
where O: UnwindSafe,

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> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

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

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

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.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

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

Initializes a with the given initializer. Read more
§

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

Dereferences the given pointer. Read more
§

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

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

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

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToGeo for T
where T: GeozeroGeometry,

source§

fn to_geo(&self) -> Result<Geometry, GeozeroError>

Convert to geo-types Geometry.
source§

impl<T> ToJson for T
where T: GeozeroGeometry,

source§

fn to_json(&self) -> Result<String, GeozeroError>

Convert to GeoJSON String.
source§

impl<T, O> ToLineStringArray<O> for T

source§

fn to_line_string_array(&self) -> Result<LineStringArray<O>, GeozeroError>

Convert to GeoArrow LineStringArray
source§

fn to_line_string_builder(&self) -> Result<LineStringBuilder<O>, GeozeroError>

Convert to a GeoArrow LineStringBuilder
source§

impl<T, O> ToMixedArray<O> for T

source§

fn to_mixed_geometry_array(&self) -> Result<MixedGeometryArray<O>, GeozeroError>

Convert to GeoArrow MixedArray
source§

fn to_mixed_geometry_builder( &self ) -> Result<MixedGeometryBuilder<O>, GeozeroError>

Convert to a GeoArrow MixedArrayBuilder
source§

impl<T, O> ToMultiLineStringArray<O> for T

source§

fn to_line_string_array(&self) -> Result<MultiLineStringArray<O>, GeozeroError>

Convert to GeoArrow MultiLineStringArray
source§

fn to_line_string_builder( &self ) -> Result<MultiLineStringBuilder<O>, GeozeroError>

Convert to a GeoArrow MultiLineStringBuilder
source§

impl<T, O> ToMultiPointArray<O> for T

source§

fn to_multi_point_array(&self) -> Result<MultiPointArray<O>, GeozeroError>

Convert to GeoArrow MultiPointArray
source§

fn to_multi_point_builder(&self) -> Result<MultiPointBuilder<O>, GeozeroError>

Convert to a GeoArrow MultiPointBuilder
source§

impl<T, O> ToMultiPolygonArray<O> for T

source§

fn to_line_string_array(&self) -> Result<MultiPolygonArray<O>, GeozeroError>

Convert to GeoArrow MultiPolygonArray
source§

fn to_line_string_builder(&self) -> Result<MultiPolygonBuilder<O>, GeozeroError>

Convert to a GeoArrow MultiPolygonBuilder
source§

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

§

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> ToPointArray for T
where T: GeozeroGeometry,

source§

fn to_point_array(&self) -> Result<PointArray, GeozeroError>

Convert to GeoArrow PointArray
source§

fn to_point_builder(&self) -> Result<PointBuilder, GeozeroError>

Convert to a GeoArrow PointBuilder
source§

impl<T, O> ToPolygonArray<O> for T

source§

fn to_line_string_array(&self) -> Result<PolygonArray<O>, GeozeroError>

Convert to GeoArrow PolygonArray
source§

fn to_line_string_builder(&self) -> Result<PolygonBuilder<O>, GeozeroError>

Convert to a GeoArrow PolygonBuilder
source§

impl<T> ToSvg for T
where T: GeozeroGeometry,

source§

fn to_svg(&self) -> Result<String, GeozeroError>

Convert to SVG geometry.
source§

fn to_svg_document(&self) -> Result<String, GeozeroError>

Convert to SVG document.
source§

impl<T> ToWkb for T
where T: GeozeroGeometry,

source§

fn to_wkb_dialect( &self, dialect: WkbDialect, dims: CoordDimensions, srid: Option<i32>, envelope: Vec<f64> ) -> Result<Vec<u8>, GeozeroError>

Convert to WKB dialect.
source§

fn to_wkb(&self, dims: CoordDimensions) -> Result<Vec<u8>, GeozeroError>

Convert to OGC WKB.
source§

fn to_ewkb( &self, dims: CoordDimensions, srid: Option<i32> ) -> Result<Vec<u8>, GeozeroError>

Convert to EWKB.
source§

fn to_gpkg_wkb( &self, dims: CoordDimensions, srid: Option<i32>, envelope: Vec<f64> ) -> Result<Vec<u8>, GeozeroError>

Convert to GeoPackage WKB.
source§

fn to_spatialite_wkb( &self, dims: CoordDimensions, srid: Option<i32>, envelope: Vec<f64> ) -> Result<Vec<u8>, GeozeroError>

Convert to Spatialite WKB.
source§

fn to_mysql_wkb(&self, srid: Option<i32>) -> Result<Vec<u8>, GeozeroError>

Convert to MySQL WKB.
source§

impl<T> ToWkt for T
where T: GeozeroGeometry,

source§

fn to_wkt(&self) -> Result<String, GeozeroError>

Convert to 2D WKT String.
source§

fn to_ewkt(&self, srid: Option<i32>) -> Result<String, GeozeroError>

Convert to EWKT String.
source§

fn to_wkt_ndim(&self, dims: CoordDimensions) -> Result<String, GeozeroError>

Convert to WKT String with dimensions.
source§

fn to_wkt_with_opts( &self, dialect: WktDialect, dims: CoordDimensions, srid: Option<i32> ) -> Result<String, GeozeroError>

Convert to WKT String with srid, dimensions and dialect.
source§

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

§

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>,

§

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.
§

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

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

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
§

fn with_current_subscriber(self) -> WithDispatch<Self>

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

impl<G1, G2> Within<G2> for G1
where G2: Contains<G1>,

source§

fn is_within(&self, b: &G2) -> bool

source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,