Struct editeur::cursor::Cursor [] [src]

pub struct Cursor<T> { /* fields omitted */ }

Methods

impl<T> Cursor<T>
[src]

Create a new cursor wrapping the provided underlying I/O object.

Consume this cursor, returning the underlying value.

Get a reference to the underlying value in this cursor.

Get a mutable reference to the underlying value in this cursor.

Care should be taken to avoid modifying the internal I/O state of the underlying value as it may corrupt this cursor's position.

Returns the current value of this cursor

Sets the value of this cursor

Trait Implementations

impl<T: Debug> Debug for Cursor<T>
[src]

Formats the value using the given formatter.

impl<T: Clone> Clone for Cursor<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for Cursor<T>
[src]