pub trait Introspectable:
Send
+ Sync
+ NonLocalValue
+ ValueDebug {
// Required method
fn ty(self: Vc<Self>) -> Vc<RcStr>
where Self: Sized;
// Provided methods
fn title(self: Vc<Self>) -> Vc<RcStr>
where Self: Sized { ... }
fn details(self: Vc<Self>) -> Vc<RcStr>
where Self: Sized { ... }
fn children(self: Vc<Self>) -> Vc<IntrospectableChildren>
where Self: Sized { ... }
}Required Methods§
Provided Methods§
fn title(self: Vc<Self>) -> Vc<RcStr>where
Self: Sized,
fn details(self: Vc<Self>) -> Vc<RcStr>where
Self: Sized,
fn children(self: Vc<Self>) -> Vc<IntrospectableChildren>where
Self: Sized,
Trait Implementations§
impl Dynamic<Box<dyn Introspectable>> for Box<dyn Introspectable>
impl Dynamic<Box<dyn ValueDebug>> for Box<dyn Introspectable>
Available on debug-assertions enabled only.
Source§impl TraitVtablePrototype for Box<dyn Introspectable>
impl TraitVtablePrototype for Box<dyn Introspectable>
impl Upcast<Box<dyn Introspectable>> for Box<dyn Introspectable>
impl Upcast<Box<dyn ValueDebug>> for Box<dyn Introspectable>
Available on debug-assertions enabled only.
impl UpcastStrict<Box<dyn ValueDebug>> for Box<dyn Introspectable>
Available on debug-assertions enabled only.
Source§impl VcValueTrait for Box<dyn Introspectable>
impl VcValueTrait for Box<dyn Introspectable>
Source§const IMPL_VTABLES: &'static VTableRegistry<Self::ValueTrait>
const IMPL_VTABLES: &'static VTableRegistry<Self::ValueTrait>
The per-trait vtable registry, populated by [crate::value_type::register_all_trait_methods] Read more
type ValueTrait = dyn Introspectable
Source§fn get_trait_type_id() -> TraitTypeId
fn get_trait_type_id() -> TraitTypeId
Returns the type id of the trait object.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".