Searched defs:fn (Results 1 – 6 of 6) sorted by relevance
64 pub const fn from_micros_const(micros: i64) -> Instant { in from_micros_const() constant76 pub const fn from_millis_const(millis: i64) -> Instant { in from_millis_const() constant96 pub const fn millis(&self) -> i64 { in millis() constant102 pub const fn micros(&self) -> i64 { in micros() constant108 pub const fn secs(&self) -> i64 { in secs() constant114 pub const fn total_millis(&self) -> i64 { in total_millis() constant119 pub const fn total_micros(&self) -> i64 { in total_micros() constant176 pub const fn from_micros(micros: u64) -> Duration { in from_micros() constant181 pub const fn from_millis(millis: u64) -> Duration { in from_millis() constant188 pub const fn from_secs(secs: u64) -> Duration { in from_secs() constant[all …]
48 pub const fn new(value: T) -> Self { in new() constant
40 pub const fn new() -> Lazy<T> { in new() constant
179 pub const fn new(value: T) -> Self { in new() constant
68 pub const fn new(data: T) -> Self { in new() constant
41 pub const fn new(address: usize) -> Self { in new() constant