Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/JelteF/derive_more
/ functions
Functions
1,002 in github.com/JelteF/derive_more
⨍
Functions
1,002
◇
Types & classes
818
Function
expand
Expands a [`TryFrom`] derive macro.
impl/src/try_from.rs:13
Function
expand
Provides the hook to expand `#[derive(Constructor)]` into an implementation of `Constructor`
impl/src/constructor.rs:9
Function
expand
( input: &syn::DeriveInput, trait_name: &'static str, )
impl/src/try_into.rs:15
Function
expand
Provides the hook to expand `#[derive(IndexMut)]` into an implementation of `IndexMut`
impl/src/index_mut.rs:7
Function
expand
Provides the hook to expand `#[derive(Index)]` into an implementation of `Index`
impl/src/index.rs:7
Function
expand
( input: &syn::DeriveInput, trait_name: &'static str, )
impl/src/error.rs:10
Function
expand
(input: &DeriveInput, trait_name: &'static str)
impl/src/try_unwrap.rs:7
Function
expand
Expands an [`ops::AddAssign`]-like derive macro. Available macros: - [`AddAssign`](ops::AddAssign) - [`BitAndAssign`](ops::BitAndAssign) - [`BitOrAss
impl/src/ops/add_assign.rs:21
Function
expand
Expands an [`ops::MulAssign`]-like derive macro. Available macros: - [`DivAssign`](ops::DivAssign) - [`MulAssign`](ops::MulAssign) - [`RemAssign`](op
impl/src/ops/mul_assign.rs:25
Function
expand
Expands an [`ops::Add`]-like derive macro. Available macros: - [`Add`](ops::Add) - [`BitAnd`](ops::BitAnd) - [`BitOr`](ops::BitOr) - [`BitXor`](ops::
impl/src/ops/add.rs:21
Function
expand
Expands an [`ops::Mul`]-like derive macro. Available macros: - [`Div`](ops::Div) - [`Mul`](ops::Mul) - [`Rem`](ops::Rem) - [`Shl`](ops::Shl) - [`Shr`
impl/src/ops/mul.rs:25
Function
expand
Expands a [`PartialEq`] derive macro.
impl/src/cmp/partial_eq.rs:19
Function
expand
Expands an [`Eq`] derive macro.
impl/src/cmp/eq.rs:14
Function
expand
Expands an [`AsRef`] derive macro.
impl/src/as/ref.rs:7
Function
expand
Expands an [`AsMut`] derive macro.
impl/src/as/mut.rs:8
Function
expand
Expands an [`AsRef`]/[`AsMut`] derive macro.
impl/src/as/mod.rs:18
Function
expand
Expands a [`fmt::Display`]-like derive macro. Available macros: - [`Binary`](fmt::Binary) - [`Display`](fmt::Display) - [`LowerExp`](fmt::LowerExp) -
impl/src/fmt/display.rs:34
Function
expand
Expands a [`fmt::Debug`] derive macro. [`fmt::Debug`]: std::fmt::Debug
impl/src/fmt/debug.rs:22
Method
expand
(self)
impl/src/into.rs:131
Function
explicit_only
()
tests/display.rs:2583
Function
field
()
tests/as_ref.rs:103
Function
field
()
tests/as_mut.rs:110
Method
field
Adds a new field to the generated tuple struct output. # Example ```rust use core::fmt; use derive_more::__private::debug_tuple; struct Foo(i32, St
src/fmt.rs:58
Function
field_const_param
()
tests/as_ref.rs:540
Function
field_const_param
()
tests/as_mut.rs:547
Function
field_forward
()
tests/as_ref.rs:113
Function
field_forward
()
tests/as_mut.rs:120
Function
field_forward_assoc
()
tests/as_ref.rs:353
Function
field_forward_assoc
()
tests/as_mut.rs:360
Function
field_lifetime
()
tests/as_ref.rs:519
Function
field_lifetime
()
tests/as_mut.rs:526
Function
field_non_generic
()
tests/as_ref.rs:1411
Function
field_non_generic
()
tests/as_mut.rs:1418
Function
field_non_generic_assoc
()
tests/as_ref.rs:1421
Function
field_non_generic_assoc
()
tests/as_mut.rs:1428
Function
field_types
()
tests/as_ref.rs:206
Function
field_types
()
tests/as_mut.rs:213
Function
field_types_assoc
()
tests/as_ref.rs:460
Function
field_types_assoc
()
tests/as_mut.rs:467
Function
field_types_inner
()
tests/as_ref.rs:486
Function
field_types_inner
()
tests/as_mut.rs:493
Function
field_types_inner_assoc
()
tests/as_ref.rs:496
Function
field_types_inner_assoc
()
tests/as_mut.rs:503
Function
field_types_with_inner
()
tests/as_ref.rs:237
Function
field_types_with_inner
()
tests/as_mut.rs:244
Function
field_types_with_renamed_inner
()
tests/as_ref.rs:260
Function
field_types_with_renamed_inner
()
tests/as_mut.rs:267
Function
fields
()
tests/partial_eq.rs:119
Function
fields
()
tests/eq.rs:81
Method
finish_non_exhaustive
Marks the struct as non-exhaustive, indicating to the reader that there are some other fields that are not shown in the debug representation, and fini
src/fmt.rs:138
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/str.rs:19
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/add.rs:24
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/convert.rs:36
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/try_unwrap.rs:38
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
tests/debug.rs:1410
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
tests/try_into.rs:358
Function
format_spec
Parses a `format_spec` as defined in the [grammar spec][0]. # Grammar [`format_spec`]` := [[fill]`[`align`]`][`[`sign`]`]['#']['0'][width]` `['.' `[
impl/src/fmt/parsing.rs:307
Function
forward
()
tests/as_ref.rs:91
Function
forward
()
tests/as_mut.rs:98
Function
forward_assoc
()
tests/as_ref.rs:320
Function
forward_assoc
()
tests/as_mut.rs:327
Method
from
(p: PathOrKeyword)
impl/src/utils.rs:1110
Method
from
(v: StructAttribute)
impl/src/into.rs:218
Method
from
(ident: syn::Ident)
impl/src/parsing.rs:37
Method
from
(arg: parsing::Argument<'a>)
impl/src/fmt/mod.rs:439
Method
from
(value: ParseIntError)
tests/from_str.rs:274
Method
from
(from: Wrapped<T>)
tests/into.rs:40
Method
from
(value: derive_more::TryIntoError<T>)
tests/try_into.rs:352
Method
from_attr_name
(name: &str)
impl/src/utils.rs:125
Method
from_str
(_: &str)
tests/from_str.rs:191
Method
from_variant
( input: &'arg_input DeriveInput, trait_name: &'static str, trait_attr: String,
impl/src/utils.rs:512
Function
full
()
impl/src/fmt/parsing.rs:1255
Method
function
(&self)
tests/display.rs:2591
Method
function1
(&self)
tests/display.rs:2516
Method
function1
(&self)
tests/debug.rs:2205
Method
function2
(&self)
tests/display.rs:2522
Method
function2
(&self)
tests/debug.rs:2211
Function
generic
()
tests/into_iterator.rs:98
Function
generic_bounds
()
tests/into_iterator.rs:120
Function
generic_enum
()
tests/display.rs:2091
Function
generic_enum
()
tests/debug.rs:1702
Function
generic_enum_unsized
()
tests/debug.rs:1724
Function
generic_owned
()
tests/into_iterator.rs:163
Function
generic_refs
()
tests/into_iterator.rs:140
Method
get_source_backtrace
(&self)
tests/error/nightly/derives_for_generic_enums_with_backtrace.rs:331
Method
get_source_backtrace
(&self)
tests/error/nightly/derives_for_enums_with_backtrace.rs:150
Method
get_stored_backtrace
(&self)
tests/error/nightly/derives_for_generic_enums_with_backtrace.rs:74
Method
get_stored_backtrace
(&self)
tests/error/nightly/derives_for_enums_with_backtrace.rs:108
Method
get_unused_backtrace
(&self)
tests/error/nightly/derives_for_generic_enums_with_backtrace.rs:101
Method
get_unused_backtrace
(&self)
tests/error/nightly/derives_for_enums_with_backtrace.rs:142
Function
identifier
Parses an `identifier` as defined in the [grammar spec][0]. # Grammar `IDENTIFIER_OR_KEYWORD : XID_Start XID_Continue* | _ XID_Continue+` See [rust
impl/src/fmt/parsing.rs:516
Method
index
(&self, idx: __IdxT)
tests/index_mut.rs:14
Function
indicates_position_and_trait_name_for_each_fmt_placeholder
()
impl/src/fmt/mod.rs:801
Function
integer
Parses an `integer` as defined in the [grammar spec][0]. [0]: std::fmt#syntax
impl/src/fmt/parsing.rs:532
Function
interpolated_generic_enum
()
tests/display.rs:2104
Function
interpolated_generic_enum
()
tests/debug.rs:1755
Function
interpolated_generic_enum_ignored
()
tests/debug.rs:1782
Function
interpolated_multi_trait_named_generic_struct
()
tests/display.rs:2145
Function
interpolated_multi_trait_unnamed_generic_struct
()
tests/display.rs:2163
Function
interpolated_named_generic_struct
()
tests/display.rs:1980
← previous
next →
301–400 of 1,002, ranked by callers