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]
type Inner = Secret<usize, bool>
The resulting type.
fn start() -> Any<usize>
[src]
Initialize loop.
fn it(&mut self, ind: usize, val: bool) -> bool
[src]
Iterate loop.
fn unwrap(self) -> Self::Inner
[src]
Unwrap the resulting value.
impl Lup<usize, Secret<usize, bool>> for Any<(usize, usize)>
[src]
type Inner = Secret<(usize, usize), bool>
The resulting type.
fn start() -> Any<(usize, usize)>
[src]
Initialize loop.
fn it(&mut self, ind: usize, val: Secret<usize, bool>) -> bool
[src]
Iterate loop.
fn unwrap(self) -> Self::Inner
[src]
Unwrap the resulting value.