Trait script::dom::bindings::codegen::Bindings::CommentBinding::Comment_Binding::CommentMethods
source · pub trait CommentMethods<D: DomTypes> {
// Required method
fn Constructor(
global: &Window,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
data: DOMString,
) -> Result<Root<Dom<Comment>>, Error>;
}
Required Methods§
fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, data: DOMString, ) -> Result<Root<Dom<Comment>>, Error>
Object Safety§
This trait is not object safe.