A single target (lib, bin, example, ...) provided by a crate
Name as given in the Cargo.toml
or generated from the file name
Kind of target ("bin", "example", "test", "bench", "lib")
Almost the same as kind
, except when an example is a library instad of an executable.
In that case crate_types
contains things like rlib
and dylib
while kind
is example
This target is built only if these features are enabled.
It doesn't apply to lib
targets.
Path to the main source file of the target
Rust edition for this target
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static