pub struct NodeActorMsg {Show 31 fields
pub actor: String,
host: Option<String>,
base_uri: String,
causes_overflow: bool,
container_type: Option<()>,
pub display_name: String,
display_type: Option<String>,
inline_text_child: Option<Box<NodeActorMsg>>,
is_after_pseudo_element: bool,
is_anonymous: bool,
is_before_pseudo_element: bool,
is_direct_shadow_host_child: Option<bool>,
is_displayed: bool,
is_in_html_document: Option<bool>,
is_marker_pseudo_element: bool,
is_native_anonymous: bool,
is_scrollable: bool,
is_shadow_host: bool,
is_shadow_root: bool,
is_top_level_document: bool,
node_name: String,
node_type: u16,
node_value: Option<String>,
pub num_children: usize,
parent: String,
shadow_root_mode: Option<String>,
traits: HashMap<String, ()>,
attrs: Vec<AttrMsg>,
name: Option<String>,
public_id: Option<String>,
system_id: Option<String>,
}Fields§
§actor: String§host: Option<String>The ID of the shadow host of this node, if it is a shadow root
base_uri: String§causes_overflow: bool§container_type: Option<()>§display_name: String§display_type: Option<String>§inline_text_child: Option<Box<NodeActorMsg>>§is_after_pseudo_element: bool§is_anonymous: bool§is_before_pseudo_element: bool§is_direct_shadow_host_child: Option<bool>§is_displayed: boolWhether or not this node is displayed.
Setting this value to false will cause the devtools to render the node name in gray.
is_in_html_document: Option<bool>§is_marker_pseudo_element: bool§is_native_anonymous: bool§is_scrollable: bool§is_shadow_host: bool§is_shadow_root: bool§is_top_level_document: bool§node_name: String§node_type: u16§node_value: Option<String>§num_children: usize§parent: String§shadow_root_mode: Option<String>§traits: HashMap<String, ()>§attrs: Vec<AttrMsg>§name: Option<String>The DOCTYPE name if this is a DocumentType node, None otherwise
public_id: Option<String>The DOCTYPE public identifier if this is a DocumentType node, None otherwise
system_id: Option<String>The DOCTYPE system identifier if this is a DocumentType node, None otherwise
Trait Implementations§
Source§impl Clone for NodeActorMsg
impl Clone for NodeActorMsg
Source§fn clone(&self) -> NodeActorMsg
fn clone(&self) -> NodeActorMsg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NodeActorMsg
impl RefUnwindSafe for NodeActorMsg
impl Send for NodeActorMsg
impl Sync for NodeActorMsg
impl Unpin for NodeActorMsg
impl UnwindSafe for NodeActorMsg
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
Source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
Source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
Source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert