Searched defs:NonZeroUsize (Results 1 – 3 of 3) sorted by relevance
29 pub fn get(&self) -> Option<NonZeroUsize> { in get()56 F: FnOnce() -> NonZeroUsize, in get_or_init()72 pub fn get_or_try_init<F, E>(&self, f: F) -> Result<NonZeroUsize, E> in get_or_try_init()74 F: FnOnce() -> Result<NonZeroUsize, E>, in get_or_try_init()153 fn to_usize(value: bool) -> NonZeroUsize { in to_usize()
18 fn nonzero_thread_id(&self) -> NonZeroUsize { in nonzero_thread_id()
47 fn nonzero_thread_id(&self) -> NonZeroUsize; in nonzero_thread_id()