use crate::ffi;
use glib::prelude::*;
glib::wrapper! {
#[doc(alias = "SoupSessionFeature")]
pub struct SessionFeature(Interface<ffi::SoupSessionFeature, ffi::SoupSessionFeatureInterface>);
match fn {
type_ => || ffi::soup_session_feature_get_type(),
}
}
impl SessionFeature {
pub const NONE: Option<&'static SessionFeature> = None;
}
mod sealed {
pub trait Sealed {}
impl<T: super::IsA<super::SessionFeature>> Sealed for T {}
}
pub trait SessionFeatureExt: IsA<SessionFeature> + sealed::Sealed + 'static {}
impl<O: IsA<SessionFeature>> SessionFeatureExt for O {}