Struct xpcom::interfaces::nsIUnicharLineInputStream [] [src]

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

interface nsIUnicharLineInputStream : nsISupports

Methods

impl nsIUnicharLineInputStream
[src]

[src]

Cast this nsIUnicharLineInputStream to one of its base interfaces.

impl nsIUnicharLineInputStream
[src]

[src]

/**
   * Read a single line from the stream, where a line is a
   * possibly zero length sequence of characters terminated by a
   * CR, LF, CRLF, LFCR, or eof.
   * The line terminator is not returned.
   * @retval false
   *         End of file. This line is the last line of the file
   *         (aLine is valid).
   * @retval true
   *         The file contains further lines.
   * @note Do not mix readLine with other read functions.
   *       Doing so can cause various problems and is not supported.
   */

boolean readLine (out AString aLine);

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

IID: nsIID = nsID(1744053365, 47744, 16632, [172, 11, 100, 156, 137, 35, 1, 132])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIUnicharLineInputStream
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.