FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IFeatureUsageTrackingSession

    trait · ferroui-splat · v0.5.0

    trait IFeatureUsageTrackingSession: IDisposable
    

    A session of the usage of a feature (IFeatureUsageTrackingSession); disposing it ends the session.

    View source

    Members

    feature_name

    fn feature_name(self: &Self) -> &str
    

    The name of the feature (FeatureName).

    Source

    sub_feature

    fn sub_feature(self: &Self, description: &str) -> Rc<dyn IFeatureUsageTrackingSession>
    

    A session of a sub-feature of this one (SubFeature).

    Source

    on_exception

    fn on_exception(self: &Self, exception: &dyn std::error::Error)
    

    Records a failure of the feature (OnException).

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.