Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/xpcom/ds/nsIPersistentProperties2.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIPropertyElement",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* attribute AUTF8String key; */
Method {
name: "GetKey",
params: &[Param { name: "aKey", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetKey",
params: &[Param { name: "aKey", ty: "*const ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* attribute AString value; */
Method {
name: "GetValue",
params: &[Param { name: "aValue", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetValue",
params: &[Param { name: "aValue", ty: "*const ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIPersistentProperties",
base: Some("nsIProperties"),
sync: false,
methods: Err("Rust only supports [ref] / [ptr] native types"),
},
]; D}