[][src]Struct nyx::Stdout

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

Yields the bytes by printing to stdout.

Created by the stdout function.

Methods

impl<T> Stdout<T>[src]

pub fn interval(&self) -> Duration[src]

Gets the update interval.

pub fn set_interval(&mut self, interval: Duration)[src]

Sets the update interval.

By default the interval is one second.

pub fn get_ref(&self) -> &T[src]

Returns a reference to the inner T.

pub fn get_mut(&mut self) -> &mut T[src]

Returns a mutable reference to the inner T.

pub fn into_inner(self) -> T[src]

Returns the inner T.

Trait Implementations

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

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

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

impl<T: DoubleEndedIterator> DoubleEndedIterator for Stdout<T>[src]

impl<T: Eq> Eq for Stdout<T>[src]

impl<T: ExactSizeIterator> ExactSizeIterator for Stdout<T>[src]

impl<T: FusedIterator> FusedIterator for Stdout<T>[src]

impl<T: Hash> Hash for Stdout<T>[src]

impl<T: Iterator> Iterator for Stdout<T>[src]

type Item = T::Item

The type of the elements being iterated over.

impl<T: Ord> Ord for Stdout<T>[src]

impl<T: PartialEq> PartialEq<Stdout<T>> for Stdout<T>[src]

impl<T: PartialOrd> PartialOrd<Stdout<T>> for Stdout<T>[src]

impl<T: Read> Read for Stdout<T>[src]

impl<T> StructuralEq for Stdout<T>[src]

impl<T> StructuralPartialEq for Stdout<T>[src]

impl<T: Write> Write for Stdout<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Stdout<T> where
    T: RefUnwindSafe

impl<T> Send for Stdout<T> where
    T: Send

impl<T> Sync for Stdout<T> where
    T: Sync

impl<T> Unpin for Stdout<T> where
    T: Unpin

impl<T> UnwindSafe for Stdout<T> where
    T: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.