Struct xpcom::interfaces::nsIDOMCDATASection
[−]
[src]
#[repr(C)]pub struct nsIDOMCDATASection { /* fields omitted */ }
interface nsIDOMCDATASection : nsIDOMText
Methods
impl nsIDOMCDATASection
[src]
pub fn coerce<T: nsIDOMCDATASectionCoerce>(&self) -> &T
[src]
Cast this nsIDOMCDATASection
to one of its base interfaces.
Methods from Deref<Target = nsIDOMText>
pub fn coerce<T: nsIDOMTextCoerce>(&self) -> &T
[src]
Cast this nsIDOMText
to one of its base interfaces.
pub unsafe fn SplitText(
&self,
offset: uint32_t,
_retval: *mut *const nsIDOMText
) -> nsresult
[src]
&self,
offset: uint32_t,
_retval: *mut *const nsIDOMText
) -> nsresult
/**
* The nsIDOMText interface inherits from nsIDOMCharacterData and represents
* the textual content (termed character data in XML) of an Element or Attr.
*
* For more information on this interface please see
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
*/
nsIDOMText splitText (in unsigned long offset) raises (DOMException);
pub unsafe fn GetWholeText(&self, aWholeText: &mut nsAString) -> nsresult
[src]
/**
* The concatenation of all logically adjacent text nodes with this text
* node, where "logically adjacent" consists of all text nodes which can be
* reached by traversing the document tree in either direction without
* passing an element, comment, or processing-instruction boundary.
*/
readonly attribute DOMString wholeText;
Trait Implementations
impl XpCom for nsIDOMCDATASection
[src]
const IID: nsIID
IID: nsIID = nsID(3780047153, 13516, 16584, [156, 153, 164, 3, 192, 1, 24, 74])
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 nsIDOMCDATASection
[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 nsIDOMCDATASection
[src]
type Target = nsIDOMText
The resulting type after dereferencing.
fn deref(&self) -> &nsIDOMText
[src]
Dereferences the value.