pub struct NodeEntry {
pub id: String,
pub kind: String,
pub role: Option<String>,
pub geometry: Option<NodeGeometry>,
pub visible: Option<bool>,
pub locked: Option<bool>,
pub children: Vec<NodeEntry>,
}Expand description
A single node in the inspect tree.
Fields§
§id: String§kind: String§role: Option<String>The node’s role attribute, when authored. Surfacing it lets consumers
group same-role nodes (e.g. every role="heading") and reason about
cross-page consistency without re-parsing the source.
geometry: Option<NodeGeometry>§visible: Option<bool>§locked: Option<bool>§children: Vec<NodeEntry>Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeEntry
impl RefUnwindSafe for NodeEntry
impl Send for NodeEntry
impl Sync for NodeEntry
impl Unpin for NodeEntry
impl UnsafeUnpin for NodeEntry
impl UnwindSafe for NodeEntry
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§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.