You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: triangle.rs
    path of file: ./repos/rs_pbrt/src/shapes
    
    the code of the file until where you have to start completion: // std
use std::cell::Cell;
use std::mem;
use std::sync::Arc;
// pbrt
use crate::core::geometry::{
    bnd3_union_pnt3f, nrm_abs_dot_vec3f, nrm_faceforward_nr
    
    pub fn object_bound(&self) -> Bounds3f {
        let idx1: usize = (self.id * 3) as usize;
        let idx = &self.mesh.vertex_indices[idx1..(idx1 + 3)];
        let p0: &Point3f = &self.mesh.p[idx[0] as usize];
        let p1: &Point3f = &self.mesh.p[idx[1] as usize];
        let p2: &Point3f = &self.mesh.p[idx[2] as usize];
        bnd3_union_pnt3f(
            &Bounds3f::new(
                self.mesh.world_to_object.transform_point(p0),
                self.mesh.world_to_object.transform_point(p1),
            ),
            &self.mesh.world_to_object.transform_point(p2),
        )
    }