Struct xpcom::interfaces::nsIURIMutator
[−]
[src]
#[repr(C)]pub struct nsIURIMutator { /* fields omitted */ }
interface nsIURIMutator : nsIURISetters
Methods
impl nsIURIMutator
[src]
pub fn coerce<T: nsIURIMutatorCoerce>(&self) -> &T
[src]
Cast this nsIURIMutator
to one of its base interfaces.
impl nsIURIMutator
[src]
pub unsafe fn Read(&self, aInputStream: *const nsIObjectInputStream) -> nsresult
[src]
/**
* Initializes the URI by reading from the input stream.
* The input stream must contain the serialization of the same object type.
* See nsISerializable.
*/
[must_use] void read (in nsIObjectInputStream aInputStream);
pub unsafe fn Finalize(&self, _retval: *mut *const nsIURI) -> nsresult
[src]
/**
* Finishes changing or constructing the URI and returns an immutable URI.
*/
[must_use] nsIURI finalize ();
Methods from Deref<Target = nsIURISetters>
pub fn coerce<T: nsIURISettersCoerce>(&self) -> &T
[src]
Cast this nsIURISetters
to one of its base interfaces.
pub unsafe fn SetScheme(
&self,
aScheme: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[src]
&self,
aScheme: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[must_use] nsIURIMutator setScheme (in AUTF8String aScheme);
pub unsafe fn SetUserPass(
&self,
aUserPass: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[src]
&self,
aUserPass: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[must_use] nsIURIMutator setUserPass (in AUTF8String aUserPass);
pub unsafe fn SetUsername(
&self,
aUsername: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[src]
&self,
aUsername: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[must_use] nsIURIMutator setUsername (in AUTF8String aUsername);
pub unsafe fn SetPassword(
&self,
aPassword: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[src]
&self,
aPassword: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[must_use] nsIURIMutator setPassword (in AUTF8String aPassword);
pub unsafe fn SetHostPort(
&self,
aHostPort: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[src]
&self,
aHostPort: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[must_use] nsIURIMutator setHostPort (in AUTF8String aHostPort);
pub unsafe fn SetHostAndPort(
&self,
aHostAndPort: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[src]
&self,
aHostAndPort: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[must_use] nsIURIMutator setHostAndPort (in AUTF8String aHostAndPort);
pub unsafe fn SetHost(
&self,
aHost: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[src]
&self,
aHost: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[must_use] nsIURIMutator setHost (in AUTF8String aHost);
pub unsafe fn SetPort(
&self,
aPort: int32_t,
_retval: *mut *const nsIURIMutator
) -> nsresult
[src]
&self,
aPort: int32_t,
_retval: *mut *const nsIURIMutator
) -> nsresult
[must_use] nsIURIMutator setPort (in long aPort);
pub unsafe fn SetPathQueryRef(
&self,
aPathQueryRef: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[src]
&self,
aPathQueryRef: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[must_use] nsIURIMutator setPathQueryRef (in AUTF8String aPathQueryRef);
pub unsafe fn SetRef(
&self,
aRef: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[src]
&self,
aRef: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[must_use] nsIURIMutator setRef (in AUTF8String aRef);
pub unsafe fn SetFilePath(
&self,
aFilePath: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[src]
&self,
aFilePath: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[must_use] nsIURIMutator setFilePath (in AUTF8String aFilePath);
pub unsafe fn SetQuery(
&self,
aQuery: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[src]
&self,
aQuery: &nsACString,
_retval: *mut *const nsIURIMutator
) -> nsresult
[must_use] nsIURIMutator setQuery (in AUTF8String aQuery);
Trait Implementations
impl XpCom for nsIURIMutator
[src]
const IID: nsIID
IID: nsIID = nsID(1293889795, 7236, 19917, [183, 23, 93, 34, 166, 151, 167, 217])
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 nsIURIMutator
[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 nsIURIMutator
[src]
type Target = nsIURISetters
The resulting type after dereferencing.
fn deref(&self) -> &nsIURISetters
[src]
Dereferences the value.