If a rook or queen is pinned along a file or rank, or a bishop or queen is pinned along a diagonal, the pin is a partial pin: the pinned unit can still move along its line but cannot leave that line.
Consider the chess position shown at right.