Module default
std
1.87.0-nightly
(2f4b45488 2025-03-12) (Ferrocene by Ferrous Systems)
Module default
Module Items
Traits
Derive Macros
In crate std
Primitive Types
array
bool
char
f128
f16
f32
f64
fn
i128
i16
i32
i64
i8
isize
never
pointer
reference
slice
str
tuple
u128
u16
u32
u64
u8
unit
usize
Modules
alloc
any
arch
array
ascii
assert_matches
async_iter
autodiff
backtrace
borrow
boxed
bstr
cell
char
clone
cmp
collections
convert
default
env
error
f128
f16
f32
f64
ffi
fmt
fs
future
hash
hint
i128
i16
i32
i64
i8
intrinsics
io
isize
iter
marker
mem
net
num
ops
option
os
panic
pat
path
pin
prelude
primitive
process
ptr
random
range
rc
result
simd
slice
str
string
sync
task
thread
time
u128
u16
u32
u64
u8
unsafe_binder
usize
vec
Macros
assert
assert_eq
assert_ne
cfg
cfg_match
column
compile_error
concat
concat_bytes
concat_idents
const_format_args
dbg
debug_assert
debug_assert_eq
debug_assert_ne
env
eprint
eprintln
file
format
format_args
format_args_nl
include
include_bytes
include_str
is_x86_feature_detected
line
log_syntax
matches
module_path
option_env
panic
print
println
stringify
thread_local
todo
trace_macros
try
unimplemented
unreachable
vec
write
writeln
Keywords
SelfTy
as
async
await
break
const
continue
crate
dyn
else
enum
extern
false
fn
for
if
impl
in
let
loop
match
mod
move
mut
pub
ref
return
self
static
struct
super
trait
true
type
union
unsafe
use
where
while
std
Module
default
Copy item path
Settings
Help
Summary
1.0.0
·
Source
Expand description
The
Default
trait for types with a default value.
Traits
§
Default
A trait for giving a type a useful default value.
Derive Macros
§
Default
Derive macro generating an impl of the trait
Default
.