enum PosPseudo {
First,
Last,
Only,
Nth(NthFormula),
NthLast(NthFormula),
}Variants§
First
Last
Only
Nth(NthFormula)
NthLast(NthFormula)
:nth-last-child()/:nth-last-of-type()(末尾から数える版)。判定時に
count - position + 1(末尾からの1始まり位置)を式へ渡す点のみ Nth と異なる。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PosPseudo
impl RefUnwindSafe for PosPseudo
impl Send for PosPseudo
impl Sync for PosPseudo
impl Unpin for PosPseudo
impl UnsafeUnpin for PosPseudo
impl UnwindSafe for PosPseudo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more