const STUB_MSG: &str = "arcis::std::iter is documentation-only; \
inside `#[encrypted]` code the interpreter intercepts the real method before this stub runs.";
pub trait Iterator {
type Item;
fn next(&mut self) -> Option<Self::Item>;
fn enumerate(self) -> ::std::iter::Enumerate<Self>
where
Self: Sized,
{
unimplemented!("{STUB_MSG}")
}
fn chain<U>(self, other: U) -> ::std::iter::Chain<Self, U::IntoIter>
where
Self: Sized,
U: IntoIterator<Item = Self::Item>,
{
unimplemented!("{STUB_MSG}")
}
fn cloned<'a, T>(self) -> ::std::iter::Cloned<Self>
where
Self: Sized + Iterator<Item = &'a T>,
T: Clone + 'a,
{
unimplemented!("{STUB_MSG}")
}
fn copied<'a, T>(self) -> ::std::iter::Copied<Self>
where
Self: Sized + Iterator<Item = &'a T>,
T: Copy + 'a,
{
unimplemented!("{STUB_MSG}")
}
fn count(self) -> usize
where
Self: Sized,
{
unimplemented!("{STUB_MSG}")
}
fn rev(self) -> ::std::iter::Rev<Self>
where
Self: Sized + DoubleEndedIterator,
{
unimplemented!("{STUB_MSG}")
}
fn zip<U>(self, other: U) -> ::std::iter::Zip<Self, U::IntoIter>
where
Self: Sized,
U: IntoIterator,
{
unimplemented!("{STUB_MSG}")
}
fn map<B, F>(self, f: F) -> ::std::iter::Map<Self, F>
where
Self: Sized,
F: FnMut(Self::Item) -> B,
{
unimplemented!("{STUB_MSG}")
}
fn for_each<F>(self, f: F)
where
Self: Sized,
F: FnMut(Self::Item),
{
unimplemented!("{STUB_MSG}")
}
fn fold<B, F>(self, init: B, f: F) -> B
where
Self: Sized,
F: FnMut(B, Self::Item) -> B,
{
unimplemented!("{STUB_MSG}")
}
fn sum<S>(self) -> S
where
Self: Sized,
S: ::std::iter::Sum<Self::Item>,
{
unimplemented!("{STUB_MSG}")
}
fn product<P>(self) -> P
where
Self: Sized,
P: ::std::iter::Product<Self::Item>,
{
unimplemented!("{STUB_MSG}")
}
fn collect<B>(self) -> B
where
Self: Sized,
B: FromIterator<Self::Item>,
{
unimplemented!("{STUB_MSG}")
}
fn last(self) -> Option<Self::Item>
where
Self: Sized,
{
unimplemented!("{STUB_MSG}")
}
fn nth(&mut self, n: usize) -> Option<Self::Item> {
unimplemented!("{STUB_MSG}")
}
fn reduce<F>(self, f: F) -> Option<Self::Item>
where
Self: Sized,
F: FnMut(Self::Item, Self::Item) -> Self::Item,
{
unimplemented!("{STUB_MSG}")
}
fn max(self) -> Option<Self::Item>
where
Self: Sized,
Self::Item: Ord,
{
unimplemented!("{STUB_MSG}")
}
fn min(self) -> Option<Self::Item>
where
Self: Sized,
Self::Item: Ord,
{
unimplemented!("{STUB_MSG}")
}
fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> B,
{
unimplemented!("{STUB_MSG}")
}
fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
where
Self: Sized,
B: Ord,
F: FnMut(&Self::Item) -> B,
{
unimplemented!("{STUB_MSG}")
}
fn take(self, n: usize) -> ::std::iter::Take<Self>
where
Self: Sized,
{
unimplemented!("{STUB_MSG}")
}
fn skip(self, n: usize) -> ::std::iter::Skip<Self>
where
Self: Sized,
{
unimplemented!("{STUB_MSG}")
}
fn step_by(self, step: usize) -> ::std::iter::StepBy<Self>
where
Self: Sized,
{
unimplemented!("{STUB_MSG}")
}
}