Searched defs:fn (Results 1 – 14 of 14) sorted by relevance
35 pub const fn into(self) -> $backing_type { constant39 pub const fn from(x: $backing_type) -> Self { constant56 pub const fn new(x: $new_type_name) -> Self { constant62 pub const fn default() -> Self { constant
22 const fn max(a: usize, b: usize) -> usize { in max() constant
48 pub const fn new(value: T) -> Self { in new() constant
40 pub const fn new() -> Lazy<T> { in new() constant
202 pub const fn new(value: T) -> Self { in new() constant
71 pub const fn new(data: T) -> Self { in new() constant
46 pub const fn new() -> Self { in new() constant
83 pub const fn from_micros_const(micros: i64) -> Instant { in from_micros_const() constant95 pub const fn from_millis_const(millis: i64) -> Instant { in from_millis_const() constant115 pub const fn millis(&self) -> i64 { in millis() constant121 pub const fn micros(&self) -> i64 { in micros() constant127 pub const fn secs(&self) -> i64 { in secs() constant133 pub const fn total_millis(&self) -> i64 { in total_millis() constant138 pub const fn total_micros(&self) -> i64 { in total_micros() constant195 pub const fn from_micros(micros: u64) -> Duration { in from_micros() constant200 pub const fn from_millis(millis: u64) -> Duration { in from_millis() constant207 pub const fn from_secs(secs: u64) -> Duration { in from_secs() constant[all …]
21 pub const fn sh_div(nom: u32, den: u32, lsh: u32) -> u32 { in sh_div() constant
26 pub const fn new() -> Self { in new() constant
73 pub const fn define_lazy() -> Lazy<Self> { in define_lazy() constant
89 pub const fn new(address: usize) -> Self { in new() constant194 pub const fn new(address: usize) -> Self { in new() constant
158 pub const fn new(count: usize) -> Self { in new() constant
42 pub const fn new(address: usize) -> Self { in new() constant