A thin edge of something three dimensional, reasonably rigid and preferrably (though not necessarily) hollow. Cups and jars have rims. Hm, but then again, so do eyeglasses and anuses. Perhaps I'd better think this over...