Skip to content

Commit 8a82d46

Browse files
committed
#[inline]
1 parent 42a3b2e commit 8a82d46

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

crates/re_space_view_spatial/src/parts/points3d.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ pub struct LoadedPoints {
220220
}
221221

222222
impl LoadedPoints {
223+
#[inline]
223224
pub fn load(
224225
arch_view: &ArchetypeView<Points3D>,
225226
ent_path: &EntityPath,
@@ -252,6 +253,7 @@ impl LoadedPoints {
252253
})
253254
}
254255

256+
#[inline]
255257
pub fn load_positions(
256258
arch_view: &ArchetypeView<Points3D>,
257259
) -> DeserializationResult<Vec<glam::Vec3>> {
@@ -262,6 +264,7 @@ impl LoadedPoints {
262264
})
263265
}
264266

267+
#[inline]
265268
pub fn load_radii(
266269
arch_view: &ArchetypeView<Points3D>,
267270
ent_path: &EntityPath,
@@ -273,6 +276,7 @@ impl LoadedPoints {
273276
})
274277
}
275278

279+
#[inline]
276280
pub fn load_colors(
277281
arch_view: &ArchetypeView<Points3D>,
278282
ent_path: &EntityPath,
@@ -285,6 +289,7 @@ impl LoadedPoints {
285289
})
286290
}
287291

292+
#[inline]
288293
pub fn load_picking_ids(arch_view: &ArchetypeView<Points3D>) -> Vec<PickingLayerInstanceId> {
289294
re_tracing::profile_function!();
290295
let iterator = arch_view

crates/re_viewer_context/src/annotations.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ pub struct Annotations {
2121
}
2222

2323
impl Annotations {
24+
#[inline]
2425
pub fn missing() -> Self {
2526
Self {
2627
row_id: MISSING_ROW_ID,

0 commit comments

Comments
 (0)