String trimmers powered by an internal combustion engine have the engine on the opposite end of the shaft from the cutting head, while electric string trimmers typically have an electric motor in the cutting head, but there are other arrangements such as where the trimmer is connected to heavy machinery and powered by a hydraulic motor.