Struct xpcom::interfaces::nsILineInputStream [] [src]

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

interface nsILineInputStream : nsISupports

Methods

impl nsILineInputStream
[src]

[src]

Cast this nsILineInputStream to one of its base interfaces.

impl nsILineInputStream
[src]

[src]

/**
   * Read a single line from the stream, where a line is a
   * possibly zero length sequence of 8bit chars 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 ACString 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 nsILineInputStream
[src]

IID: nsIID = nsID(3380299372, 7790, 18291, [164, 171, 43, 43, 49, 144, 167, 166])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsILineInputStream
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.