Struct lup::Any [] [src]

pub struct Any<I>(pub Option<I>);

There exists loop.

Returns None if there was no item in the loop satisfying the condition. Returns Some(item) if an item satisfies the condition.

Trait Implementations

impl Lup<usize, bool> for Any<usize>
[src]

The resulting type.

[src]

Initialize loop.

[src]

Iterate loop.

[src]

Unwrap the resulting value.

impl Lup<usize, Secret<usize, bool>> for Any<(usize, usize)>
[src]

The resulting type.

[src]

Initialize loop.

[src]

Iterate loop.

[src]

Unwrap the resulting value.

impl Lup<usize, Secret<(usize, usize), bool>> for Any<(usize, usize, usize)>
[src]

The resulting type.

[src]

Initialize loop.

[src]

Iterate loop.

[src]

Unwrap the resulting value.

Auto Trait Implementations

impl<I> Send for Any<I> where
    I: Send

impl<I> Sync for Any<I> where
    I: Sync