MCPcopy Index your code

hub / github.com/JelteF/derive_more / functions

Functions1,002 in github.com/JelteF/derive_more

Functionexpand
Expands a [`TryFrom`] derive macro.
impl/src/try_from.rs:13
Functionexpand
Provides the hook to expand `#[derive(Constructor)]` into an implementation of `Constructor`
impl/src/constructor.rs:9
Functionexpand
( input: &syn::DeriveInput, trait_name: &'static str, )
impl/src/try_into.rs:15
Functionexpand
Provides the hook to expand `#[derive(IndexMut)]` into an implementation of `IndexMut`
impl/src/index_mut.rs:7
Functionexpand
Provides the hook to expand `#[derive(Index)]` into an implementation of `Index`
impl/src/index.rs:7
Functionexpand
( input: &syn::DeriveInput, trait_name: &'static str, )
impl/src/error.rs:10
Functionexpand
(input: &DeriveInput, trait_name: &'static str)
impl/src/try_unwrap.rs:7
Functionexpand
Expands an [`ops::AddAssign`]-like derive macro. Available macros: - [`AddAssign`](ops::AddAssign) - [`BitAndAssign`](ops::BitAndAssign) - [`BitOrAss
impl/src/ops/add_assign.rs:21
Functionexpand
Expands an [`ops::MulAssign`]-like derive macro. Available macros: - [`DivAssign`](ops::DivAssign) - [`MulAssign`](ops::MulAssign) - [`RemAssign`](op
impl/src/ops/mul_assign.rs:25
Functionexpand
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
Functionexpand
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
Functionexpand
Expands a [`PartialEq`] derive macro.
impl/src/cmp/partial_eq.rs:19
Functionexpand
Expands an [`Eq`] derive macro.
impl/src/cmp/eq.rs:14
Functionexpand
Expands an [`AsRef`] derive macro.
impl/src/as/ref.rs:7
Functionexpand
Expands an [`AsMut`] derive macro.
impl/src/as/mut.rs:8
Functionexpand
Expands an [`AsRef`]/[`AsMut`] derive macro.
impl/src/as/mod.rs:18
Functionexpand
Expands a [`fmt::Display`]-like derive macro. Available macros: - [`Binary`](fmt::Binary) - [`Display`](fmt::Display) - [`LowerExp`](fmt::LowerExp) -
impl/src/fmt/display.rs:34
Functionexpand
Expands a [`fmt::Debug`] derive macro. [`fmt::Debug`]: std::fmt::Debug
impl/src/fmt/debug.rs:22
Methodexpand
(self)
impl/src/into.rs:131
Functionexplicit_only
()
tests/display.rs:2583
Functionfield
()
tests/as_ref.rs:103
Functionfield
()
tests/as_mut.rs:110
Methodfield
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
Functionfield_const_param
()
tests/as_ref.rs:540
Functionfield_const_param
()
tests/as_mut.rs:547
Functionfield_forward
()
tests/as_ref.rs:113
Functionfield_forward
()
tests/as_mut.rs:120
Functionfield_forward_assoc
()
tests/as_ref.rs:353
Functionfield_forward_assoc
()
tests/as_mut.rs:360
Functionfield_lifetime
()
tests/as_ref.rs:519
Functionfield_lifetime
()
tests/as_mut.rs:526
Functionfield_non_generic
()
tests/as_ref.rs:1411
Functionfield_non_generic
()
tests/as_mut.rs:1418
Functionfield_non_generic_assoc
()
tests/as_ref.rs:1421
Functionfield_non_generic_assoc
()
tests/as_mut.rs:1428
Functionfield_types
()
tests/as_ref.rs:206
Functionfield_types
()
tests/as_mut.rs:213
Functionfield_types_assoc
()
tests/as_ref.rs:460
Functionfield_types_assoc
()
tests/as_mut.rs:467
Functionfield_types_inner
()
tests/as_ref.rs:486
Functionfield_types_inner
()
tests/as_mut.rs:493
Functionfield_types_inner_assoc
()
tests/as_ref.rs:496
Functionfield_types_inner_assoc
()
tests/as_mut.rs:503
Functionfield_types_with_inner
()
tests/as_ref.rs:237
Functionfield_types_with_inner
()
tests/as_mut.rs:244
Functionfield_types_with_renamed_inner
()
tests/as_ref.rs:260
Functionfield_types_with_renamed_inner
()
tests/as_mut.rs:267
Functionfields
()
tests/partial_eq.rs:119
Functionfields
()
tests/eq.rs:81
Methodfinish_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
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/str.rs:19
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/add.rs:24
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/convert.rs:36
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/try_unwrap.rs:38
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
tests/debug.rs:1410
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
tests/try_into.rs:358
Functionformat_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
Functionforward
()
tests/as_ref.rs:91
Functionforward
()
tests/as_mut.rs:98
Functionforward_assoc
()
tests/as_ref.rs:320
Functionforward_assoc
()
tests/as_mut.rs:327
Methodfrom
(p: PathOrKeyword)
impl/src/utils.rs:1110
Methodfrom
(v: StructAttribute)
impl/src/into.rs:218
Methodfrom
(ident: syn::Ident)
impl/src/parsing.rs:37
Methodfrom
(arg: parsing::Argument<'a>)
impl/src/fmt/mod.rs:439
Methodfrom
(value: ParseIntError)
tests/from_str.rs:274
Methodfrom
(from: Wrapped<T>)
tests/into.rs:40
Methodfrom
(value: derive_more::TryIntoError<T>)
tests/try_into.rs:352
Methodfrom_attr_name
(name: &str)
impl/src/utils.rs:125
Methodfrom_str
(_: &str)
tests/from_str.rs:191
Methodfrom_variant
( input: &'arg_input DeriveInput, trait_name: &'static str, trait_attr: String,
impl/src/utils.rs:512
Functionfull
()
impl/src/fmt/parsing.rs:1255
Methodfunction
(&self)
tests/display.rs:2591
Methodfunction1
(&self)
tests/display.rs:2516
Methodfunction1
(&self)
tests/debug.rs:2205
Methodfunction2
(&self)
tests/display.rs:2522
Methodfunction2
(&self)
tests/debug.rs:2211
Functiongeneric
()
tests/into_iterator.rs:98
Functiongeneric_bounds
()
tests/into_iterator.rs:120
Functiongeneric_enum
()
tests/display.rs:2091
Functiongeneric_enum
()
tests/debug.rs:1702
Functiongeneric_enum_unsized
()
tests/debug.rs:1724
Functiongeneric_owned
()
tests/into_iterator.rs:163
Functiongeneric_refs
()
tests/into_iterator.rs:140
Methodget_source_backtrace
(&self)
tests/error/nightly/derives_for_generic_enums_with_backtrace.rs:331
Methodget_source_backtrace
(&self)
tests/error/nightly/derives_for_enums_with_backtrace.rs:150
Methodget_stored_backtrace
(&self)
tests/error/nightly/derives_for_generic_enums_with_backtrace.rs:74
Methodget_stored_backtrace
(&self)
tests/error/nightly/derives_for_enums_with_backtrace.rs:108
Methodget_unused_backtrace
(&self)
tests/error/nightly/derives_for_generic_enums_with_backtrace.rs:101
Methodget_unused_backtrace
(&self)
tests/error/nightly/derives_for_enums_with_backtrace.rs:142
Functionidentifier
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
Methodindex
(&self, idx: __IdxT)
tests/index_mut.rs:14
Functionindicates_position_and_trait_name_for_each_fmt_placeholder
()
impl/src/fmt/mod.rs:801
Functioninteger
Parses an `integer` as defined in the [grammar spec][0]. [0]: std::fmt#syntax
impl/src/fmt/parsing.rs:532
Functioninterpolated_generic_enum
()
tests/display.rs:2104
Functioninterpolated_generic_enum
()
tests/debug.rs:1755
Functioninterpolated_generic_enum_ignored
()
tests/debug.rs:1782
Functioninterpolated_multi_trait_named_generic_struct
()
tests/display.rs:2145
Functioninterpolated_multi_trait_unnamed_generic_struct
()
tests/display.rs:2163
Functioninterpolated_named_generic_struct
()
tests/display.rs:1980
← previousnext →301–400 of 1,002, ranked by callers