Home
last modified time | relevance | path

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

/external/rust/crates/once_cell/src/
Drace.rs29 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()
/external/rust/crates/parking_lot/src/
Dremutex.rs18 fn nonzero_thread_id(&self) -> NonZeroUsize { in nonzero_thread_id()
/external/rust/crates/lock_api/src/
Dremutex.rs47 fn nonzero_thread_id(&self) -> NonZeroUsize; in nonzero_thread_id()