pub struct Ancestor {
pub node: Option<NodeId>,
pub element: String,
pub id: Option<String>,
pub classes: Vec<String>,
}Expand description
One element an inspected element sits inside.
Fields§
§node: Option<NodeId>Its content node. None for the book, and for the thead and
tbody of a table, which no content node stands behind.
element: StringThe element name selectors match.
id: Option<String>The id a selector reaches it by.
classes: Vec<String>The classes a selector reaches it by.
Trait Implementations§
impl StructuralPartialEq for Ancestor
Auto Trait Implementations§
impl Freeze for Ancestor
impl RefUnwindSafe for Ancestor
impl Send for Ancestor
impl Sync for Ancestor
impl Unpin for Ancestor
impl UnsafeUnpin for Ancestor
impl UnwindSafe for Ancestor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.