pub fn platform(&self, platform_id: &PlatformId) -> Result<&PlatformInfo> {
        self.platform_info
            .get(platform_id)
            .ok_or(StoneError::NoSuchPlatform(platform_id.clone()))
    }
/// Gets the platform with the specified platform ID.
/// Returns `StoneError::NoSuchPlatform` if it does not.
Gets the platform with the specified platform ID.
Gets the platform with the specified platform ID .
pub fn platform(&self, platform_id: &PlatformId) -> Result<&PlatformInfo> {
        self.platform_info
            .get(platform_id)
            .ok_or(StoneError::NoSuchPlatform(platform_id.clone()))
    }
pub fn platform ( & self , platform_id : & PlatformId ) -> Result < & PlatformInfo > { self . platform_info . get ( platform_id ) . ok_or ( StoneError :: NoSuchPlatform ( platform_id . clone ( ) ) ) }
Gets the platform with the specified platform ID.
Gets the platform with the specified platform ID .
&self
platform_id
&PlatformId