pub fn build_struct_layout(&mut self, s: &StructTag) -> Result<Format, T::Error> {
        let serde_type_args = s
            .type_params
            .iter()
            .map(|t| self.build_type_layout(t.clone()))
            .collect::<Result<Vec<Format>, T::Error>>()?;
        let shallow = false;
        self.build_struct_layout_(&s.module_id(), &s.name, &serde_type_args, shallow)
    }
/// Add layouts for all types used in `t` to the registry
Add layouts for all types used in `t` to the registry
Add layouts for all types used in ` t ` to the registry
pub fn build_struct_layout(&mut self, s: &StructTag) -> Result<Format, T::Error> {
        let serde_type_args = s
            .type_params
            .iter()
            .map(|t| self.build_type_layout(t.clone()))
            .collect::<Result<Vec<Format>, T::Error>>()?;
        let shallow = false;
        self.build_struct_layout_(&s.module_id(), &s.name, &serde_type_args, shallow)
    }
pub fn build_struct_layout ( & mut self , s : & StructTag ) -> Result < Format , T :: Error > { let serde_type_args = s . type_params . iter ( ) . map ( | t | self . build_type_layout ( t . clone ( ) ) ) . collect :: < Result < Vec < Format > , T :: Error > > ( ) ? ; let shallow = false ; self . build_struct_layout_ ( & s . module_id ( ) , & s . name , & serde_type_args , shallow ) }
Add layouts for all types used in `t` to the registry
Add layouts for all types used in ` t ` to the registry
&mut self
s
&StructTag