webkit2gtk/auto/
geolocation_permission_request.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files.git)
3// DO NOT EDIT
4
5use crate::PermissionRequest;
6use std::fmt;
7
8glib::wrapper! {
9    #[doc(alias = "WebKitGeolocationPermissionRequest")]
10    pub struct GeolocationPermissionRequest(Object<ffi::WebKitGeolocationPermissionRequest, ffi::WebKitGeolocationPermissionRequestClass>) @implements PermissionRequest;
11
12    match fn {
13        type_ => || ffi::webkit_geolocation_permission_request_get_type(),
14    }
15}
16
17impl GeolocationPermissionRequest {}
18
19pub const NONE_GEOLOCATION_PERMISSION_REQUEST: Option<&GeolocationPermissionRequest> = None;
20
21impl fmt::Display for GeolocationPermissionRequest {
22    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
23        f.write_str("GeolocationPermissionRequest")
24    }
25}