Lines Matching refs:either

58 macro_rules! either {  macro
298 pub fn either<F, G, T>(self, f: F, g: G) -> T in either() method
714 either!(self, inner => inner) in into_inner()
768 either!(*self, ref mut inner => inner.extend(iter)) in extend()
781 either!(*self, ref mut inner => inner.next()) in next()
785 either!(*self, ref inner => inner.size_hint()) in size_hint()
792 either!(self, inner => inner.fold(init, f)) in fold()
796 either!(self, inner => inner.count()) in count()
800 either!(self, inner => inner.last()) in last()
804 either!(*self, ref mut inner => inner.nth(n)) in nth()
811 either!(self, inner => inner.collect()) in collect()
818 either!(*self, ref mut inner => inner.all(f)) in all()
828 either!(*self, ref mut inner => inner.next_back()) in next_back()
849 either!(*self, ref mut inner => inner.read(buf)) in read()
853 either!(*self, ref mut inner => inner.read_to_end(buf)) in read_to_end()
865 either!(*self, ref mut inner => inner.fill_buf()) in fill_buf()
869 either!(*self, ref mut inner => inner.consume(amt)) in consume()
883 either!(*self, ref mut inner => inner.write(buf)) in write()
887 either!(*self, ref mut inner => inner.flush()) in flush()
897 either!(*self, ref inner => inner.as_ref()) in as_ref()
908 either!(*self, ref inner => inner.as_ref())
917 either!(*self, ref mut inner => inner.as_mut())
946 either!(*self, ref inner => inner.as_ref()) in as_ref()
956 either!(*self, ref mut inner => inner.as_mut()) in as_mut()
966 either!(*self, ref mut inner => inner.as_mut()) in as_mut()
978 either!(*self, ref inner => &*inner) in deref()
988 either!(*self, ref mut inner => &mut *inner) in deref_mut()
1001 either!(*self, ref inner => inner.description()) in description()
1007 either!(*self, ref inner => inner.cause()) in cause()
1017 either!(*self, ref inner => inner.fmt(f)) in fmt()