Struct xpcom::interfaces::nsISHTransaction
[−]
[src]
#[repr(C)]pub struct nsISHTransaction { /* fields omitted */ }
interface nsISHTransaction : nsISupports
/**
* The nsISHTransaction.
*/
Methods
impl nsISHTransaction
[src]
pub fn coerce<T: nsISHTransactionCoerce>(&self) -> &T
[src]
Cast this nsISHTransaction
to one of its base interfaces.
impl nsISHTransaction
[src]
pub unsafe fn GetSHEntry(&self, aSHEntry: *mut *const nsISHEntry) -> nsresult
[src]
/**
* The nsISHEntry for the current transaction
*/
attribute nsISHEntry sHEntry;
pub unsafe fn SetSHEntry(&self, aSHEntry: *const nsISHEntry) -> nsresult
[src]
/**
* The nsISHEntry for the current transaction
*/
attribute nsISHEntry sHEntry;
pub unsafe fn GetPrev(&self, aPrev: *mut *const nsISHTransaction) -> nsresult
[src]
/**
* The parent of this transaction
*/
attribute nsISHTransaction prev;
pub unsafe fn SetPrev(&self, aPrev: *const nsISHTransaction) -> nsresult
[src]
/**
* The parent of this transaction
*/
attribute nsISHTransaction prev;
pub unsafe fn GetNext(&self, aNext: *mut *const nsISHTransaction) -> nsresult
[src]
/**
* The legitimate child of this transaction
*/
attribute nsISHTransaction next;
pub unsafe fn SetNext(&self, aNext: *const nsISHTransaction) -> nsresult
[src]
/**
* The legitimate child of this transaction
*/
attribute nsISHTransaction next;
pub unsafe fn GetPersist(&self, aPersist: *mut bool) -> nsresult
[src]
/**
* Specifies if this transaction should persist. If not it will be replaced
* by new additions to the list.
*/
attribute boolean persist;
pub unsafe fn SetPersist(&self, aPersist: bool) -> nsresult
[src]
/**
* Specifies if this transaction should persist. If not it will be replaced
* by new additions to the list.
*/
attribute boolean persist;
pub unsafe fn Create(
&self,
aSHEntry: *const nsISHEntry,
aPrev: *const nsISHTransaction
) -> nsresult
[src]
&self,
aSHEntry: *const nsISHEntry,
aPrev: *const nsISHTransaction
) -> nsresult
/**
* Create a transaction with parent and History Entry
*/
void create (in nsISHEntry aSHEntry, in nsISHTransaction aPrev);
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 nsISHTransaction
[src]
const IID: nsIID
IID: nsIID = nsID(786395231, 53842, 18801, [159, 9, 113, 221, 15, 118, 13, 198])
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 nsISHTransaction
[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 nsISHTransaction
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.