Struct xpcom::interfaces::nsIDOMComment
[−]
[src]
#[repr(C)]pub struct nsIDOMComment { /* fields omitted */ }
interface nsIDOMComment : nsIDOMCharacterData
Methods
impl nsIDOMComment
[src]
pub fn coerce<T: nsIDOMCommentCoerce>(&self) -> &T
[src]
Cast this nsIDOMComment
to one of its base interfaces.
Methods from Deref<Target = nsIDOMCharacterData>
pub fn coerce<T: nsIDOMCharacterDataCoerce>(&self) -> &T
[src]
Cast this nsIDOMCharacterData
to one of its base interfaces.
pub unsafe fn GetData(&self, aData: &mut nsAString) -> nsresult
[src]
/**
* The nsIDOMCharacterData interface extends nsIDOMNode with a set of
* attributes and methods for accessing character data in the DOM.
*
* For more information on this interface please see
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
attribute DOMString data;
pub unsafe fn SetData(&self, aData: &nsAString) -> nsresult
[src]
/**
* The nsIDOMCharacterData interface extends nsIDOMNode with a set of
* attributes and methods for accessing character data in the DOM.
*
* For more information on this interface please see
* http://www.w3.org/TR/DOM-Level-2-Core/
*/
attribute DOMString data;
pub unsafe fn GetLength(&self, aLength: *mut uint32_t) -> nsresult
[src]
readonly attribute unsigned long length;
pub unsafe fn SubstringData(
&self,
offset: uint32_t,
count: uint32_t,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
offset: uint32_t,
count: uint32_t,
_retval: &mut nsAString
) -> nsresult
DOMString substringData (in unsigned long offset, in unsigned long count) raises (DOMException);
pub unsafe fn AppendData(&self, arg: &nsAString) -> nsresult
[src]
void appendData (in DOMString arg) raises (DOMException);
pub unsafe fn InsertData(&self, offset: uint32_t, arg: &nsAString) -> nsresult
[src]
void insertData (in unsigned long offset, in DOMString arg) raises (DOMException);
pub unsafe fn DeleteData(&self, offset: uint32_t, count: uint32_t) -> nsresult
[src]
void deleteData (in unsigned long offset, in unsigned long count) raises (DOMException);
pub unsafe fn ReplaceData(
&self,
offset: uint32_t,
count: uint32_t,
arg: &nsAString
) -> nsresult
[src]
&self,
offset: uint32_t,
count: uint32_t,
arg: &nsAString
) -> nsresult
void replaceData (in unsigned long offset, in unsigned long count, in DOMString arg) raises (DOMException);
Trait Implementations
impl XpCom for nsIDOMComment
[src]
const IID: nsIID
IID: nsIID = nsID(3884347384, 47100, 18767, [135, 192, 251, 1, 125, 138, 77, 48])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[src]
Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more
impl RefCounted for nsIDOMComment
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIDOMComment
[src]
type Target = nsIDOMCharacterData
The resulting type after dereferencing.
fn deref(&self) -> &nsIDOMCharacterData
[src]
Dereferences the value.