soup/auto/
session_feature.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from
3// from gir-files (https://github.com/gtk-rs/gir-files)
4// DO NOT EDIT
5
6use crate::ffi;
7use glib::prelude::*;
8
9glib::wrapper! {
10    #[doc(alias = "SoupSessionFeature")]
11    pub struct SessionFeature(Interface<ffi::SoupSessionFeature, ffi::SoupSessionFeatureInterface>);
12
13    match fn {
14        type_ => || ffi::soup_session_feature_get_type(),
15    }
16}
17
18impl SessionFeature {
19    pub const NONE: Option<&'static SessionFeature> = None;
20}
21
22mod sealed {
23    pub trait Sealed {}
24    impl<T: super::IsA<super::SessionFeature>> Sealed for T {}
25}
26
27pub trait SessionFeatureExt: IsA<SessionFeature> + sealed::Sealed + 'static {}
28
29impl<O: IsA<SessionFeature>> SessionFeatureExt for O {}