pub enum RootMode {
Root,
ShadowRoot,
}Expand description
RootMode: whether a traversal up the tree stops at the root only
('root'), or at the root and any shadow root ('shadowRoot').
Variants§
Trait Implementations§
impl Copy for RootMode
impl Eq for RootMode
impl StructuralPartialEq for RootMode
Auto Trait Implementations§
impl Forget for RootMode
impl Freeze for RootMode
impl Move for RootMode
impl RefUnwindSafe for RootMode
impl Send for RootMode
impl Sync for RootMode
impl Unpin for RootMode
impl UnsafeUnpin for RootMode
impl UnwindSafe for RootMode
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