pub struct AncestorNeeds {
pub position: bool,
pub siblings: bool,
pub children: bool,
}Expand description
祖先の文脈のうち、子孫のスタイルに効き得るもの(RuleIndex::ancestor_needs)。
Fields§
§position: bool兄弟の中の順番・数(:first-child 等)。
siblings: bool前の兄弟の特徴(+・~ の右側)。
children: bool子の有無(:empty)。
Trait Implementations§
Source§impl Clone for AncestorNeeds
impl Clone for AncestorNeeds
impl Copy for AncestorNeeds
Auto Trait Implementations§
impl Freeze for AncestorNeeds
impl RefUnwindSafe for AncestorNeeds
impl Send for AncestorNeeds
impl Sync for AncestorNeeds
impl Unpin for AncestorNeeds
impl UnsafeUnpin for AncestorNeeds
impl UnwindSafe for AncestorNeeds
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