(&self)
| 135 | |
| 136 | impl<'a> MarginRule<'a> { |
| 137 | pub fn name(&self) -> &T![AtKeyword] { |
| 138 | match self { |
| 139 | Self::TopLeftCorner(a, _) => a, |
| 140 | Self::TopLeft(a, _) => a, |
| 141 | Self::TopCenter(a, _) => a, |
| 142 | Self::TopRight(a, _) => a, |
| 143 | Self::TopRightCorner(a, _) => a, |
| 144 | Self::RightTop(a, _) => a, |
| 145 | Self::RightMiddle(a, _) => a, |
| 146 | Self::RightBottom(a, _) => a, |
| 147 | Self::BottomRightCorner(a, _) => a, |
| 148 | Self::BottomRight(a, _) => a, |
| 149 | Self::BottomCenter(a, _) => a, |
| 150 | Self::BottomLeft(a, _) => a, |
| 151 | Self::BottomLeftCorner(a, _) => a, |
| 152 | Self::LeftBottom(a, _) => a, |
| 153 | Self::LeftMiddle(a, _) => a, |
| 154 | Self::LeftTop(a, _) => a, |
| 155 | } |
| 156 | } |
| 157 | |
| 158 | pub fn block(&self) -> &MarginRuleBlock<'a> { |
| 159 | match self { |
no outgoing calls
no test coverage detected