MCPcopy Create free account

hub / github.com/ahgamut/rust-ape-example / types & classes

Types & classes118 in github.com/ahgamut/rust-ape-example

↓ 4 callersClassSGen
Concrete type `S`.
src/bin/generics_gen_fn.rs:6
↓ 4 callersClassSingleGen
Here, `<T>` precedes the first use of `T`, so `SingleGen` is a generic type. Because the type parameter `T` is generic, it could be anything, includin
src/bin/generics.rs:15
↓ 3 callersClassLength
src/bin/generics_phantom_testcase_units.rs:18
↓ 3 callersClassMinMax
src/bin/hello_print_print_display.rs:9
↓ 2 callersClassCentimeters
src/bin/trait_derive.rs:6
↓ 2 callersClassChopped
src/bin/error_option_unwrap_map.rs:9
↓ 2 callersClassCooked
src/bin/error_option_unwrap_map.rs:10
↓ 2 callersClassPeeled
src/bin/error_option_unwrap_map.rs:8
↓ 2 callersClassPhantomTuple
Allow equality test for this type.
src/bin/generics_phantom.rs:8
↓ 2 callersClassRef
src/bin/scope_lifetime_lifetime_bounds.rs:7
↓ 1 callersClassBorrowed
src/bin/scope_lifetime_struct.rs:7
↓ 1 callersClassContainer
src/bin/generics_assoc_items_the_problem.rs:4
↓ 1 callersClassContainer
src/bin/generics_assoc_items_types.rs:4
↓ 1 callersClassEvenNumber
src/bin/conversion_try_from_try_into.rs:8
↓ 1 callersClassInches
src/bin/trait_derive.rs:10
↓ 1 callersClassList
Define a structure named `List` containing a `Vec`.
src/bin/hello_print_print_display_testcase_list.rs:7
↓ 1 callersClassMatrix
src/bin/primitives_tuples.rs:14
↓ 1 callersClassOwner
src/bin/scope_lifetime_methods.rs:4
↓ 1 callersClassPair
src/bin/trait_clone.rs:10
↓ 1 callersClassPair
`Pair` owns resources: two heap allocated integers
src/bin/fn_methods.rs:64
↓ 1 callersClassPair
A tuple struct
src/bin/custom_types_structs.rs:17
↓ 1 callersClassS
Concrete type `A`.
src/bin/generics_gen_fn.rs:5
↓ 1 callersClassSeconds
`Seconds`, a tuple struct with no additional attributes
src/bin/trait_derive.rs:21
↓ 1 callersClassSingle
In defining the type `Single`, the first use of `A` is not preceded by `<A>`. Therefore, `Single` is a concrete type, and `A` is defined as above.
src/bin/generics.rs:9
ClassA
A concrete type `A`.
src/bin/generics.rs:5
ClassA
src/bin/generics_gen_fn.rs:4
ClassAccount
src/bin/std_hash_alt_key_types.rs:7
ClassAccountInfo
src/bin/std_hash_alt_key_types.rs:12
InterfaceAgeWidget
src/bin/trait_disambiguating.rs:9
InterfaceAnimal
src/bin/trait_dyn.rs:7
InterfaceAnimal
src/bin/trait.rs:6
ClassBar
src/bin/trait_ops.rs:7
ClassBarFoo
src/bin/trait_ops.rs:13
InterfaceBlue
src/bin/generics_bounds_testcase_empty.rs:9
ClassBlueJay
src/bin/generics_bounds_testcase_empty.rs:5
ClassBook
src/bin/scope_borrow_mut.rs:6
ClassBorrowed
src/bin/scope_lifetime_trait.rs:6
ClassCardinal
src/bin/generics_bounds_testcase_empty.rs:4
ClassCircle
src/bin/conversion_string.rs:6
ClassCity
src/bin/hello_print_fmt.rs:6
ClassClosedBox
src/bin/mod_struct_visibility.rs:12
ClassColor
src/bin/hello_print_fmt.rs:28
EnumColor
enum with explicit discriminator
src/bin/custom_types_enum_c_like.rs:15
EnumColor
src/bin/flow_control_match_destructuring_destructure_enum.rs:7
InterfaceCompSciStudent
CompSciStudent (computer science student) is a subtrait of both Programmer and Student. Implementing CompSciStudent requires you to impl both supertra
src/bin/trait_supertraits.rs:20
InterfaceContains
A trait which checks if 2 items are stored inside of container. Also retrieves first or last value.
src/bin/generics_assoc_items_the_problem.rs:8
InterfaceContains
A trait which checks if 2 items are stored inside of container. Also retrieves first or last value.
src/bin/generics_assoc_items_types.rs:8
ClassCow
src/bin/trait_dyn.rs:5
EnumDay
src/bin/error_option_unwrap_and_then.rs:7
ClassDeep
src/bin/hello_print_print_debug.rs:12
InterfaceDoubleDrop
A trait generic over `T`.
src/bin/generics_gen_trait.rs:9
ClassDoubleError
src/bin/error_multiple_error_types_define_error_type.rs:12
EnumDoubleError
src/bin/error_multiple_error_types_wrap_error.rs:12
ClassDroppable
src/bin/trait_drop.rs:4
EnumEither
src/bin/scope_lifetime_struct.rs:18
ClassEmpty
Non-copyable types.
src/bin/generics_gen_trait.rs:5
ClassEmptyVec
src/bin/error_multiple_error_types_reenter_question_mark.rs:11
ClassEmptyVec
src/bin/error_multiple_error_types_boxing_errors.rs:11
ClassFibonacci
src/bin/trait_iter.rs:4
ClassFoo
src/bin/trait_ops.rs:6
ClassFoo
src/bin/flow_control_match_destructuring_destructure_structures.rs:5
EnumFoo1
Our example enum
src/bin/flow_control_if_let.rs:40
EnumFoo2
This enum purposely neither implements nor derives PartialEq. That is why comparing Foo::Bar == a fails below.
src/bin/flow_control_if_let.rs:77
ClassFooBar
src/bin/trait_ops.rs:10
EnumFood
src/bin/error_option_unwrap_and_then.rs:6
EnumFood
src/bin/error_option_unwrap_map.rs:6
ClassForm
A form with both a UsernameWidget and an AgeWidget
src/bin/trait_disambiguating.rs:15
EnumFruit
src/bin/error_option_unwrap_defaults.rs:5
ClassGenVal
src/bin/generics_impl.rs:8
InterfaceHasArea
src/bin/generics_bounds.rs:7
EnumInch
src/bin/generics_phantom_testcase_units.rs:9
ClassJob
src/bin/error_option_unwrap_question_mark.rs:16
EnumList
src/bin/custom_types_enum_testcase_linked_list.rs:6
EnumMathError
src/bin/std_result.rs:7
EnumMathError
src/bin/std_result_question_mark.rs:6
EnumMm
src/bin/generics_phantom_testcase_units.rs:11
ClassNamedBorrowed
src/bin/scope_lifetime_struct.rs:11
ClassNull
src/bin/generics_gen_trait.rs:6
ClassNumber
src/bin/conversion_from_into.rs:7
EnumNumber
enum with implicit discriminator (starts at 0)
src/bin/custom_types_enum_c_like.rs:8
ClassOpenBox
A public struct with a public field of generic type `T`
src/bin/mod_struct_visibility.rs:6
ClassPerson
src/bin/hello_print_print_debug.rs:31
ClassPerson
src/bin/error_option_unwrap_question_mark.rs:11
ClassPerson
src/bin/custom_types_structs.rs:8
ClassPerson
src/bin/scope_move_partial_move.rs:6
InterfacePerson
src/bin/trait_supertraits.rs:4
ClassPhantomStruct
Allow equality test for this type.
src/bin/generics_phantom.rs:12
ClassPhoneNumber
src/bin/error_option_unwrap_question_mark.rs:21
ClassPoint
src/bin/scope_borrow_alias.rs:4
ClassPoint
src/bin/scope_borrow_ref.rs:5
ClassPoint
src/bin/std_box.rs:8
ClassPoint
src/bin/fn_methods.rs:4
ClassPoint
A struct with two fields
src/bin/custom_types_structs.rs:20
ClassPoint2D
src/bin/hello_print_print_display.rs:21
InterfacePrintInOption
src/bin/generics_where.rs:6
InterfaceProgrammer
src/bin/trait_supertraits.rs:14
ClassRectangle
src/bin/std_box.rs:16
ClassRectangle
src/bin/fn_methods.rs:26
ClassRectangle
src/bin/generics_bounds.rs:16
ClassRectangle
Structs can be reused as fields of another struct
src/bin/custom_types_structs.rs:26
next →1–100 of 118, ranked by callers