use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
#[deprecated]
pub struct DOMHTMLHRElement;
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl ClassType for DOMHTMLHRElement {
#[inherits(DOMElement, DOMNode, DOMObject, WebScriptObject, NSObject)]
type Super = DOMHTMLElement;
type Mutability = InteriorMutable;
}
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMEventTarget",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMEventTarget for DOMHTMLHRElement {}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl NSCopying for DOMHTMLHRElement {}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl NSObjectProtocol for DOMHTMLHRElement {}
extern_methods!(
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMHTMLHRElement {
#[deprecated]
#[method_id(@__retain_semantics Other align)]
pub unsafe fn align(&self) -> Retained<NSString>;
#[deprecated]
#[method(setAlign:)]
pub unsafe fn setAlign(&self, align: Option<&NSString>);
#[deprecated]
#[method(noShade)]
pub unsafe fn noShade(&self) -> bool;
#[deprecated]
#[method(setNoShade:)]
pub unsafe fn setNoShade(&self, no_shade: bool);
#[deprecated]
#[method_id(@__retain_semantics Other size)]
pub unsafe fn size(&self) -> Retained<NSString>;
#[deprecated]
#[method(setSize:)]
pub unsafe fn setSize(&self, size: Option<&NSString>);
#[deprecated]
#[method_id(@__retain_semantics Other width)]
pub unsafe fn width(&self) -> Retained<NSString>;
#[deprecated]
#[method(setWidth:)]
pub unsafe fn setWidth(&self, width: Option<&NSString>);
}
);
extern_methods!(
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMHTMLHRElement {
#[deprecated]
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
}
);
extern_methods!(
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMHTMLHRElement {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
}
);