Struct llq::Node[][src]

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

An individual node which may be pushed onto and popped from a Queue.

Implementations

impl<T> Node<T>[src]

pub fn new(data: T) -> Node<T>[src]

Allocates a new node containing the given value.

pub fn into_inner(this: Node<T>) -> T[src]

Deallocates a Node and returns the inner value.

Trait Implementations

impl<T> Deref for Node<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T> DerefMut for Node<T>[src]

impl<T> Drop for Node<T>[src]

impl<T: Send> Send for Node<T>[src]

impl<T: Sync> Sync for Node<T>[src]

Auto Trait Implementations

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

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<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.