Trait script::dom::bindings::codegen::Bindings::PermissionsBinding::Permissions_Binding::PermissionsMethods
source · pub trait PermissionsMethods<D: DomTypes> {
// Required methods
fn Query(
&self,
cx: SafeJSContext,
permissionDesc: *mut JSObject,
_can_gc: CanGc,
) -> Rc<Promise>;
fn Request(
&self,
cx: SafeJSContext,
permissionDesc: *mut JSObject,
_can_gc: CanGc,
) -> Rc<Promise>;
fn Revoke(
&self,
cx: SafeJSContext,
permissionDesc: *mut JSObject,
_can_gc: CanGc,
) -> Rc<Promise>;
}