Struct xpcom::interfaces::nsIURISetters [] [src]

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

interface nsIURISetters : nsIURISetSpec

/**
 * These methods allow the mutator to change various parts of the URI.
 * They return the same nsIURIMutator so that we may chain setter operations:
 * Example:
 * let newURI = uri.mutate()
 *                 .setSpec("http://example.com")
 *                 .setQuery("hello")
 *                 .finalize();
 */

Methods

impl nsIURISetters
[src]

[src]

Cast this nsIURISetters to one of its base interfaces.

impl nsIURISetters
[src]

[src]

[must_use] nsIURIMutator setScheme (in AUTF8String aScheme);

[src]

[must_use] nsIURIMutator setUserPass (in AUTF8String aUserPass);

[src]

[must_use] nsIURIMutator setUsername (in AUTF8String aUsername);

[src]

[must_use] nsIURIMutator setPassword (in AUTF8String aPassword);

[src]

[must_use] nsIURIMutator setHostPort (in AUTF8String aHostPort);

[src]

[must_use] nsIURIMutator setHostAndPort (in AUTF8String aHostAndPort);

[src]

[must_use] nsIURIMutator setHost (in AUTF8String aHost);

[src]

[must_use] nsIURIMutator setPort (in long aPort);

[src]

[must_use] nsIURIMutator setPathQueryRef (in AUTF8String aPathQueryRef);

[src]

[must_use] nsIURIMutator setRef (in AUTF8String aRef);

[src]

[must_use] nsIURIMutator setFilePath (in AUTF8String aFilePath);

[src]

[must_use] nsIURIMutator setQuery (in AUTF8String aQuery);

Methods from Deref<Target = nsIURISetSpec>

[src]

Cast this nsIURISetSpec to one of its base interfaces.

[src]

/**
   * This setter is different from all other setters because it may be used to
   * initialize the object. We define it separately allowing mutator implementors
   * to define it separately, while the rest of the setters may be simply
   * forwarded to the mutable URI.
   */

[must_use] nsIURIMutator setSpec (in AUTF8String aSpec);

Trait Implementations

impl XpCom for nsIURISetters
[src]

IID: nsIID = nsID(1409525484, 39383, 16478, [139, 69, 159, 128, 91, 189, 252, 239])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIURISetters
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.