[][src]Struct glk::types::filemode

pub struct filemode(pub u32);

Newtype for Glk filemode

Methods

impl filemode[src]

pub const Write: Self[src]

An output stream.

pub const Read: Self[src]

An input stream.

pub const ReadWrite: Self[src]

Both an input and output stream.

pub const WriteAppend: Self[src]

An output stream, but the data will added to the end of whatever already existed in the

  • destination, instead of replacing it.

Trait Implementations

impl Clone for filemode[src]

impl Copy for filemode[src]

impl Eq for filemode[src]

impl PartialEq<filemode> for filemode[src]

impl Debug for filemode[src]

impl StructuralPartialEq for filemode[src]

impl StructuralEq for filemode[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]