Home
last modified time | relevance | path

Searched defs:SizeHint (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/itertools/src/
Dsize_hint.rs9 pub type SizeHint = (usize, Option<usize>); typedef
13 pub fn add(a: SizeHint, b: SizeHint) -> SizeHint { in add()
25 pub fn add_scalar(sh: SizeHint, x: usize) -> SizeHint { in add_scalar()
35 pub fn sub_scalar(sh: SizeHint, x: usize) -> SizeHint { in sub_scalar()
59 pub fn mul(a: SizeHint, b: SizeHint) -> SizeHint { in mul()
71 pub fn mul_scalar(sh: SizeHint, x: usize) -> SizeHint { in mul_scalar()
80 pub fn pow_scalar_base(base: usize, exp: SizeHint) -> SizeHint { in pow_scalar_base()
94 pub fn max(a: SizeHint, b: SizeHint) -> SizeHint { in max()
110 pub fn min(a: SizeHint, b: SizeHint) -> SizeHint { in min()