Struct xpcom::interfaces::nsIContentViewerEdit
[−]
[src]
#[repr(C)]pub struct nsIContentViewerEdit { /* fields omitted */ }
interface nsIContentViewerEdit : nsISupports
Methods
impl nsIContentViewerEdit
[src]
pub fn coerce<T: nsIContentViewerEditCoerce>(&self) -> &T
[src]
Cast this nsIContentViewerEdit
to one of its base interfaces.
impl nsIContentViewerEdit
[src]
pub const COPY_IMAGE_TEXT: i64
COPY_IMAGE_TEXT: i64 = 1
pub const COPY_IMAGE_HTML: i64
COPY_IMAGE_HTML: i64 = 2
pub const COPY_IMAGE_DATA: i64
COPY_IMAGE_DATA: i64 = 4
pub const COPY_IMAGE_ALL: i64
COPY_IMAGE_ALL: i64 = -1
pub unsafe fn ClearSelection(&self) -> nsresult
[src]
void clearSelection ();
pub unsafe fn SelectAll(&self) -> nsresult
[src]
void selectAll ();
pub unsafe fn CopySelection(&self) -> nsresult
[src]
void copySelection ();
pub unsafe fn GetCopyable(&self, aCopyable: *mut bool) -> nsresult
[src]
readonly attribute boolean copyable;
pub unsafe fn CopyLinkLocation(&self) -> nsresult
[src]
void copyLinkLocation ();
pub unsafe fn GetInLink(&self, aInLink: *mut bool) -> nsresult
[src]
readonly attribute boolean inLink;
pub unsafe fn CopyImage(&self, aCopyFlags: int32_t) -> nsresult
[src]
void copyImage (in long aCopyFlags);
pub unsafe fn GetInImage(&self, aInImage: *mut bool) -> nsresult
[src]
readonly attribute boolean inImage;
pub unsafe fn GetContents(
&self,
aMimeType: *const c_char,
aSelectionOnly: bool,
_retval: &mut nsAString
) -> nsresult
[src]
&self,
aMimeType: *const c_char,
aSelectionOnly: bool,
_retval: &mut nsAString
) -> nsresult
AString getContents (in string aMimeType, in boolean aSelectionOnly);
pub unsafe fn GetCanGetContents(&self, aCanGetContents: *mut bool) -> nsresult
[src]
readonly attribute boolean canGetContents;
pub unsafe fn SetCommandNode(&self, aNode: *const nsIDOMNode) -> nsresult
[src]
void setCommandNode (in nsIDOMNode aNode);
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIContentViewerEdit
[src]
const IID: nsIID
IID: nsIID = nsID(901655934, 62107, 18668, [191, 126, 128, 163, 10, 114, 77, 227])
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 nsIContentViewerEdit
[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 nsIContentViewerEdit
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.