TopLevelGroup
struct · ferroui-diagnostics · v0.5.0
struct TopLevelGroup
The object DevTools shows at the root of its trees for a group of top levels: the top levels of the group, and the notifications of the top levels that join and leave it.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<TopLevelGroup>
Returns a strong reference to this object.
construct
fn construct(group: Rc<dyn IDevToolsTopLevelGroup>) -> Self
new
fn new(group: Rc<dyn IDevToolsTopLevelGroup>) -> Ref<Self>
C# new TopLevelGroup(group).
group
fn group(self: &Self) -> Rc<dyn IDevToolsTopLevelGroup>
items
fn items(self: &Self) -> Vec<Ref<TopLevel>>
added
fn added(self: &Self, handler: impl Fn(&Ref<TopLevel>) -> () + 'static) -> Rc<dyn IDisposable>
Raised when a top level joins the group. Disposing the returned handle unsubscribes.
removed
fn removed(self: &Self, handler: impl Fn(&Ref<TopLevel>) -> () + 'static) -> Rc<dyn IDisposable>
Raised when a top level leaves the group. Disposing the returned handle unsubscribes.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<TopLevelGroup>StaticTypeObjectTypeSubclassable<T>FerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.