use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(
DOMHTMLElement,
DOMElement,
DOMNode,
DOMObject,
WebScriptObject,
NSObject
))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
#[deprecated]
pub struct DOMHTMLTableColElement;
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMEventTarget",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
extern_conformance!(
unsafe impl DOMEventTarget for DOMHTMLTableColElement {}
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
extern_conformance!(
unsafe impl NSCopying for DOMHTMLTableColElement {}
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl CopyingHelper for DOMHTMLTableColElement {
type Result = Self;
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
extern_conformance!(
unsafe impl NSObjectProtocol for DOMHTMLTableColElement {}
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLTableColElement {
extern_methods!(
#[deprecated]
#[unsafe(method(align))]
#[unsafe(method_family = none)]
pub unsafe fn align(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setAlign:))]
#[unsafe(method_family = none)]
pub unsafe fn setAlign(&self, align: Option<&NSString>);
#[deprecated]
#[unsafe(method(ch))]
#[unsafe(method_family = none)]
pub unsafe fn ch(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setCh:))]
#[unsafe(method_family = none)]
pub unsafe fn setCh(&self, ch: Option<&NSString>);
#[deprecated]
#[unsafe(method(chOff))]
#[unsafe(method_family = none)]
pub unsafe fn chOff(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setChOff:))]
#[unsafe(method_family = none)]
pub unsafe fn setChOff(&self, ch_off: Option<&NSString>);
#[deprecated]
#[unsafe(method(span))]
#[unsafe(method_family = none)]
pub unsafe fn span(&self) -> c_int;
#[deprecated]
#[unsafe(method(setSpan:))]
#[unsafe(method_family = none)]
pub unsafe fn setSpan(&self, span: c_int);
#[deprecated]
#[unsafe(method(vAlign))]
#[unsafe(method_family = none)]
pub unsafe fn vAlign(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setVAlign:))]
#[unsafe(method_family = none)]
pub unsafe fn setVAlign(&self, v_align: Option<&NSString>);
#[deprecated]
#[unsafe(method(width))]
#[unsafe(method_family = none)]
pub unsafe fn width(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setWidth:))]
#[unsafe(method_family = none)]
pub unsafe fn setWidth(&self, width: Option<&NSString>);
);
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLTableColElement {
extern_methods!(
#[deprecated]
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLTableColElement {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}