Trait re_query::ToArchetype

source ·
pub trait ToArchetype<A: Archetype> {
    // Required method
    fn to_archetype(
        &self,
        resolver: &PromiseResolver
    ) -> PromiseResult<Result<A>>;
}
Expand description

Helper extension trait to convert query results into re_types_core::Archetypes.

Required Methods§

source

fn to_archetype(&self, resolver: &PromiseResolver) -> PromiseResult<Result<A>>

Converts the result into an re_types_core::Archetype.

Automatically handles all aspects of the query process: deserialization, caching, promise resolution, etc.

Implementors§

source§

impl ToArchetype<AnnotationContext> for LatestAtResults

source§

impl ToArchetype<Arrows2D> for LatestAtResults

source§

impl ToArchetype<Arrows3D> for LatestAtResults

source§

impl ToArchetype<Asset3D> for LatestAtResults

source§

impl ToArchetype<BarChart> for LatestAtResults

source§

impl ToArchetype<Boxes2D> for LatestAtResults

source§

impl ToArchetype<Boxes3D> for LatestAtResults

source§

impl ToArchetype<DepthImage> for LatestAtResults

source§

impl ToArchetype<DisconnectedSpace> for LatestAtResults

source§

impl ToArchetype<Image> for LatestAtResults

source§

impl ToArchetype<LineStrips2D> for LatestAtResults

source§

impl ToArchetype<LineStrips3D> for LatestAtResults

source§

impl ToArchetype<Mesh3D> for LatestAtResults

source§

impl ToArchetype<Pinhole> for LatestAtResults

source§

impl ToArchetype<Points2D> for LatestAtResults

source§

impl ToArchetype<Points3D> for LatestAtResults

source§

impl ToArchetype<Scalar> for LatestAtResults

source§

impl ToArchetype<SegmentationImage> for LatestAtResults

source§

impl ToArchetype<SeriesLine> for LatestAtResults

source§

impl ToArchetype<SeriesPoint> for LatestAtResults

source§

impl ToArchetype<Tensor> for LatestAtResults

source§

impl ToArchetype<TextDocument> for LatestAtResults

source§

impl ToArchetype<TextLog> for LatestAtResults

source§

impl ToArchetype<Transform3D> for LatestAtResults

source§

impl ToArchetype<ViewCoordinates> for LatestAtResults

source§

impl ToArchetype<Background> for LatestAtResults

source§

impl ToArchetype<PlotLegend> for LatestAtResults

source§

impl ToArchetype<ScalarAxis> for LatestAtResults

source§

impl ToArchetype<SpaceViewBlueprint> for LatestAtResults

source§

impl ToArchetype<SpaceViewContents> for LatestAtResults

source§

impl ToArchetype<VisibleTimeRanges> for LatestAtResults

source§

impl ToArchetype<VisualBounds2D> for LatestAtResults

source§

impl ToArchetype<ContainerBlueprint> for LatestAtResults

source§

impl ToArchetype<PanelBlueprint> for LatestAtResults

source§

impl ToArchetype<ViewportBlueprint> for LatestAtResults

source§

impl ToArchetype<Clear> for LatestAtResults