Crop is a document feature all layers are cropped. Layers can be any size. Can be larger then canvas size and even be positioned off canvas. None will have pixels off canvas if you crop the document. You work on a layer's size with tool likes Transform and selection tools you can select pixels areas and delete/clear the pixels in the selected areas so in effect you can trim layers.