Struct xpcom::interfaces::nsILayoutHistoryState [] [src]

#[repr(C)]
pub struct nsILayoutHistoryState { /* fields omitted */ }

interface nsILayoutHistoryState : nsISupports

Methods

impl nsILayoutHistoryState
[src]

[src]

Cast this nsILayoutHistoryState to one of its base interfaces.

impl nsILayoutHistoryState
[src]

[src]

/**
  * Whether this LayoutHistoryState contains any PresStates.
  */

readonly attribute boolean hasStates;

[src]

/**
  * Get the keys of all PresStates held by this LayoutHistoryState.
  * Note: Check hasStates first.
  */

void getKeys ([optional] out uint32_t aCount, [array, size_is (aCount), retval] out string aKeys);

[src]

void getPresState (in ACString aKey, out float aScrollX, out float aScrollY, out boolean aAllowScrollOriginDowngrade, out float aRes, out boolean aScaleToRes);

[src]

/**
   * Constructs a new nsPresState object based on the supplied data
   * and adds it to the LayoutHistoryState.
   */

void addNewPresState (in ACString aKey, in float aScrollX, in float aScrollY, in boolean aAllowScrollOriginDowngrade, in float aRes, in boolean aScaleToRes);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsILayoutHistoryState
[src]

IID: nsIID = nsID(2935127219, 19961, 20203, [176, 176, 172, 86, 207, 134, 29, 4])

[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 nsILayoutHistoryState
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsILayoutHistoryState
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.