[][src]Struct glk::types::seekmode

pub struct seekmode(pub u32);

Newtype for Glk seekmode

Methods

impl seekmode[src]

pub const Start: Self[src]

Seek pos characters after the beginning of the file.

pub const Current: Self[src]

Seek pos characters after the current position (moving backwards if pos is negative.)

pub const End: Self[src]

pos characters after the end of the file. (pos should always be zero or negative, so that

  • this will move backwards to a position within the file.)

Trait Implementations

impl Clone for seekmode[src]

impl Copy for seekmode[src]

impl Eq for seekmode[src]

impl PartialEq<seekmode> for seekmode[src]

impl Debug for seekmode[src]

impl StructuralPartialEq for seekmode[src]

impl StructuralEq for seekmode[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]