pub struct DivInspector { /* private fields */ }Implementations§
Source§impl DivInspector
impl DivInspector
pub fn new(window: &mut Window, cx: &mut Context<'_, Self>) -> Self
pub fn update_inspected_element( &mut self, inspector_id: InspectorElementId, state: DivInspectorState, window: &mut Window, cx: &mut Context<'_, Self>, )
Trait Implementations§
Source§impl Render for DivInspector
impl Render for DivInspector
Auto Trait Implementations§
impl !RefUnwindSafe for DivInspector
impl !Send for DivInspector
impl !Sync for DivInspector
impl !UnwindSafe for DivInspector
impl Forget for DivInspector
impl Freeze for DivInspectorwhere
*const RcInner<InspectorElementPath> is !null: Freeze,
PhantomData<RcInner<InspectorElementPath>>: Freeze,
*const StyleRefinement is !null: Freeze,
PhantomData<StyleRefinement>: Freeze,
NonZero<u32>: Freeze,
*const (): Freeze,
*const ArcInner<RwLock<RawRwLock, EntityRefCounts>> is !null: Freeze,
PhantomData<fn(InputBaseState<EditorMode>) -> InputBaseState<EditorMode>>: Freeze,
&'static str: Freeze,
*const ArcInner<str> is !null: Freeze,
PhantomData<ArcInner<str>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<BoxShadow>: Freeze,
*const ArcInner<Vec<(String, u32)>> is !null: Freeze,
PhantomData<ArcInner<Vec<(String, u32)>>>: Freeze,
*const ArcInner<Vec<String>> is !null: Freeze,
PhantomData<ArcInner<Vec<String>>>: Freeze,
PhantomData<Subscription>: Freeze,
impl Move for DivInspector
impl Unpin for DivInspectorwhere
Rc<InspectorElementPath>: Unpin,
Box<StyleRefinement>: Unpin,
NonZero<u32>: Unpin,
*const (): Unpin,
*const ArcInner<RwLock<RawRwLock, EntityRefCounts>> is !null: Unpin,
&'static str: Unpin,
Arc<str>: Unpin,
*const u8 is !null: Unpin,
Arc<Vec<(String, u32)>>: Unpin,
Arc<Vec<String>>: Unpin,
Box<dyn FnOnce()>: Unpin,
impl UnsafeUnpin for DivInspectorwhere
*const RcInner<InspectorElementPath> is !null: UnsafeUnpin,
PhantomData<RcInner<InspectorElementPath>>: UnsafeUnpin,
*const StyleRefinement is !null: UnsafeUnpin,
PhantomData<StyleRefinement>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
*const (): UnsafeUnpin,
*const ArcInner<RwLock<RawRwLock, EntityRefCounts>> is !null: UnsafeUnpin,
PhantomData<fn(InputBaseState<EditorMode>) -> InputBaseState<EditorMode>>: UnsafeUnpin,
&'static str: UnsafeUnpin,
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<BoxShadow>: UnsafeUnpin,
*const ArcInner<Vec<(String, u32)>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Vec<(String, u32)>>>: UnsafeUnpin,
*const ArcInner<Vec<String>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Vec<String>>>: UnsafeUnpin,
PhantomData<Subscription>: UnsafeUnpin,
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
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