pub struct NodeInfo {
pub id: u32,
pub kind: &'static str,
pub tag: String,
pub classes: Vec<String>,
pub scopes: Vec<String>,
pub props: Vec<(String, String)>,
pub text: String,
pub parent: u32,
pub children: Vec<u32>,
pub listeners: Vec<&'static str>,
pub bounds: Option<(f32, f32, f32, f32)>,
pub group_anchor: bool,
}Fields§
§id: u32§kind: &'static str§tag: String§classes: Vec<String>§scopes: Vec<String>§props: Vec<(String, String)>§text: String§parent: u32§children: Vec<u32>§listeners: Vec<&'static str>§bounds: Option<(f32, f32, f32, f32)>§group_anchor: boolA descendant’s group-hover: rule watches this element, so it got gpui’s .group(name) (and a hitbox).
Trait Implementations§
Auto Trait Implementations§
impl Forget for NodeInfo
impl Freeze for NodeInfo
impl Move for NodeInfo
impl RefUnwindSafe for NodeInfo
impl Send for NodeInfo
impl Sync for NodeInfo
impl Unpin for NodeInfo
impl UnsafeUnpin for NodeInfo
impl UnwindSafe for NodeInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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 more