pub(super) fn num_pages(&self) -> usize {
		let len = self.len();
		if len == 0 {
			0
		} else {
			Self::page_index(len) + 1
		}
	}
/// Returns the number of used pages.
Returns the number of used pages.
Returns the number of used pages .
pub(super) fn num_pages(&self) -> usize {
		let len = self.len();
		if len == 0 {
			0
		} else {
			Self::page_index(len) + 1
		}
	}
pub ( super ) fn num_pages ( & self ) -> usize { let len = self . len ( ) ; if len == 0 { 0 } else { Self :: page_index ( len ) + 1 } }
Returns the number of used pages.
Returns the number of used pages .
&self
&self