use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(all(
feature = "DOMCSSValue",
feature = "DOMObject",
feature = "WebScriptObject"
))]
#[deprecated]
pub struct DOMCSSValueList;
#[cfg(all(
feature = "DOMCSSValue",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl ClassType for DOMCSSValueList {
#[inherits(DOMObject, WebScriptObject, NSObject)]
type Super = DOMCSSValue;
type Mutability = InteriorMutable;
}
);
#[cfg(all(
feature = "DOMCSSValue",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl NSCopying for DOMCSSValueList {}
#[cfg(all(
feature = "DOMCSSValue",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl NSObjectProtocol for DOMCSSValueList {}
extern_methods!(
#[cfg(all(
feature = "DOMCSSValue",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMCSSValueList {
#[deprecated]
#[method(length)]
pub unsafe fn length(&self) -> c_uint;
#[deprecated]
#[method_id(@__retain_semantics Other item:)]
pub unsafe fn item(&self, index: c_uint) -> Option<Retained<DOMCSSValue>>;
}
);
extern_methods!(
#[cfg(all(
feature = "DOMCSSValue",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMCSSValueList {
#[deprecated]
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
}
);
extern_methods!(
#[cfg(all(
feature = "DOMCSSValue",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMCSSValueList {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
}
);