SYMBOL INDEX (603 symbols across 131 files) FILE: exercises/01_intro/00_welcome/src/lib.rs function greeting (line 18) | fn greeting() -> &'static str { function test_welcome (line 43) | fn test_welcome() { FILE: exercises/01_intro/01_syntax/src/lib.rs function compute (line 6) | fn compute(a, b) -> u32 { function case (line 16) | fn case() { FILE: exercises/02_basic_calculator/00_intro/src/lib.rs function intro (line 1) | fn intro() -> &'static str { function test_intro (line 11) | fn test_intro() { FILE: exercises/02_basic_calculator/01_integers/src/lib.rs function compute (line 1) | fn compute(a: u32, b: u32) -> u32 { function case (line 12) | fn case() { FILE: exercises/02_basic_calculator/02_variables/src/lib.rs function speed (line 8) | pub fn speed(start: u32, end: u32, time_elapsed: u32) -> u32 { function case1 (line 21) | fn case1() { function case2 (line 26) | fn case2() { function case3 (line 31) | fn case3() { FILE: exercises/02_basic_calculator/03_if_else/src/lib.rs function magic_number (line 4) | fn magic_number(n: u32) -> u32 { function one (line 13) | fn one() { function two (line 18) | fn two() { function six (line 23) | fn six() { function nine (line 28) | fn nine() { function high (line 33) | fn high() { FILE: exercises/02_basic_calculator/04_panics/src/lib.rs function speed (line 3) | fn speed(start: u32, end: u32, time_elapsed: u32) -> u32 { function case1 (line 14) | fn case1() { function by_zero (line 23) | fn by_zero() { FILE: exercises/02_basic_calculator/05_factorial/src/lib.rs function first (line 18) | fn first() { function second (line 23) | fn second() { function third (line 28) | fn third() { function fifth (line 33) | fn fifth() { FILE: exercises/02_basic_calculator/06_while/src/lib.rs function factorial (line 2) | pub fn factorial(n: u32) -> u32 { function first (line 15) | fn first() { function second (line 20) | fn second() { function third (line 25) | fn third() { function fifth (line 30) | fn fifth() { FILE: exercises/02_basic_calculator/07_for/src/lib.rs function factorial (line 2) | pub fn factorial(n: u32) -> u32 { function first (line 11) | fn first() { function second (line 16) | fn second() { function third (line 21) | fn third() { function fifth (line 26) | fn fifth() { FILE: exercises/02_basic_calculator/08_overflow/src/lib.rs function factorial (line 8) | pub fn factorial(n: u32) -> u32 { function twentieth (line 21) | fn twentieth() { function first (line 31) | fn first() { function second (line 36) | fn second() { function third (line 41) | fn third() { function fifth (line 46) | fn fifth() { FILE: exercises/02_basic_calculator/09_saturating/src/lib.rs function factorial (line 1) | pub fn factorial(n: u32) -> u32 { function twentieth (line 16) | fn twentieth() { function first (line 21) | fn first() { function second (line 26) | fn second() { function third (line 31) | fn third() { function fifth (line 36) | fn fifth() { FILE: exercises/02_basic_calculator/10_as_casting/src/lib.rs function u16_to_u32 (line 8) | fn u16_to_u32() { function u8_to_i8 (line 14) | fn u8_to_i8() { function bool_to_u8 (line 33) | fn bool_to_u8() { FILE: exercises/03_ticket_v1/00_intro/src/lib.rs function intro (line 1) | fn intro() -> &'static str { function test_intro (line 11) | fn test_intro() { FILE: exercises/03_ticket_v1/01_struct/src/lib.rs function test_order_is_available (line 13) | fn test_order_is_available() { function test_order_is_not_available (line 22) | fn test_order_is_not_available() { FILE: exercises/03_ticket_v1/02_validation/src/lib.rs type Ticket (line 1) | struct Ticket { method new (line 20) | fn new(title: String, description: String, status: String) -> Self { function title_cannot_be_empty (line 37) | fn title_cannot_be_empty() { function description_cannot_be_empty (line 43) | fn description_cannot_be_empty() { function title_cannot_be_longer_than_fifty_chars (line 49) | fn title_cannot_be_longer_than_fifty_chars() { function description_cannot_be_longer_than_500_chars (line 55) | fn description_cannot_be_longer_than_500_chars() { function status_must_be_valid (line 61) | fn status_must_be_valid() { function done_is_allowed (line 66) | fn done_is_allowed() { function in_progress_is_allowed (line 71) | fn in_progress_is_allowed() { FILE: exercises/03_ticket_v1/03_modules/src/lib.rs function create_todo_ticket (line 5) | fn create_todo_ticket(title: String, description: String) -> Ticket { type Ticket (line 10) | struct Ticket { method new (line 17) | fn new(title: String, description: String, status: String) -> Ticket { FILE: exercises/03_ticket_v1/04_visibility/src/lib.rs type Ticket (line 2) | struct Ticket { method new (line 9) | fn new(title: String, description: String, status: String) -> Ticket { function should_not_be_possible (line 46) | fn should_not_be_possible() { function encapsulation_cannot_be_violated (line 61) | fn encapsulation_cannot_be_violated() { FILE: exercises/03_ticket_v1/05_encapsulation/src/lib.rs type Ticket (line 2) | pub struct Ticket { method new (line 9) | pub fn new(title: String, description: String, status: String) -> Tick... function description (line 45) | fn description() { function title (line 51) | fn title() { function status (line 57) | fn status() { FILE: exercises/03_ticket_v1/06_ownership/src/lib.rs type Ticket (line 6) | pub struct Ticket { method new (line 13) | pub fn new(title: String, description: String, status: String) -> Tick... method title (line 37) | pub fn title(self) -> String { method description (line 41) | pub fn description(self) -> String { method status (line 45) | pub fn status(self) -> String { function works (line 55) | fn works() { FILE: exercises/03_ticket_v1/07_setters/src/lib.rs type Ticket (line 6) | pub struct Ticket { method new (line 13) | pub fn new(title: String, description: String, status: String) -> Tick... method title (line 37) | pub fn title(&self) -> &String { method description (line 41) | pub fn description(&self) -> &String { method status (line 45) | pub fn status(&self) -> &String { function works (line 56) | fn works() { function title_cannot_be_empty (line 69) | fn title_cannot_be_empty() { function description_cannot_be_empty (line 75) | fn description_cannot_be_empty() { function title_cannot_be_longer_than_fifty_chars (line 81) | fn title_cannot_be_longer_than_fifty_chars() { function description_cannot_be_longer_than_500_chars (line 88) | fn description_cannot_be_longer_than_500_chars() { function status_must_be_valid (line 95) | fn status_must_be_valid() { FILE: exercises/03_ticket_v1/08_stack/src/lib.rs function u16_size (line 8) | fn u16_size() { function i32_size (line 13) | fn i32_size() { function bool_size (line 18) | fn bool_size() { FILE: exercises/03_ticket_v1/09_heap/src/lib.rs type Ticket (line 1) | pub struct Ticket { function string_size (line 15) | fn string_size() { function ticket_size (line 20) | fn ticket_size() { FILE: exercises/03_ticket_v1/10_references_in_memory/src/lib.rs type Ticket (line 1) | pub struct Ticket { function u16_ref_size (line 15) | fn u16_ref_size() { function u64_mut_ref_size (line 20) | fn u64_mut_ref_size() { function ticket_ref_size (line 25) | fn ticket_ref_size() { FILE: exercises/03_ticket_v1/11_destructor/src/lib.rs function outro (line 4) | fn outro() -> &'static str { function test_outro (line 13) | fn test_outro() { FILE: exercises/03_ticket_v1/12_outro/tests/integration.rs function test_order (line 8) | fn test_order() { function test_empty_product_name (line 29) | fn test_empty_product_name() { function test_long_product_name (line 35) | fn test_long_product_name() { function test_zero_quantity (line 41) | fn test_zero_quantity() { function test_zero_unit_price (line 47) | fn test_zero_unit_price() { FILE: exercises/04_traits/00_intro/src/lib.rs function intro (line 1) | fn intro() -> &'static str { function test_intro (line 11) | fn test_intro() { FILE: exercises/04_traits/01_trait/src/lib.rs function test_u32_is_even (line 11) | fn test_u32_is_even() { function test_i32_is_even (line 17) | fn test_i32_is_even() { FILE: exercises/04_traits/02_orphan_rule/src/lib.rs method eq (line 8) | fn eq(&self, _other: &Self) -> bool { FILE: exercises/04_traits/03_operator_overloading/src/lib.rs type Ticket (line 3) | struct Ticket { function test_partial_eq (line 18) | fn test_partial_eq() { function test_description_not_matching (line 36) | fn test_description_not_matching() { function test_title_not_matching (line 53) | fn test_title_not_matching() { function test_status_not_matching (line 70) | fn test_status_not_matching() { FILE: exercises/04_traits/04_derive/src/lib.rs type Ticket (line 12) | struct Ticket { function test_partial_eq (line 23) | fn test_partial_eq() { function test_description_not_matching (line 41) | fn test_description_not_matching() { function test_title_not_matching (line 58) | fn test_title_not_matching() { function test_status_not_matching (line 75) | fn test_status_not_matching() { FILE: exercises/04_traits/05_trait_bounds/src/lib.rs function min (line 9) | pub fn min(left: T, right: T) -> T { FILE: exercises/04_traits/06_str_slice/src/lib.rs type Ticket (line 3) | pub struct Ticket { method new (line 10) | pub fn new(title: String, description: String, status: String) -> Tick... method title (line 34) | pub fn title(&self) -> &String { method description (line 38) | pub fn description(&self) -> &String { method status (line 42) | pub fn status(&self) -> &String { function test_type (line 54) | fn test_type() { FILE: exercises/04_traits/07_deref/src/lib.rs type Ticket (line 7) | pub struct Ticket { method title (line 14) | pub fn title(&self) -> &str { method description (line 18) | pub fn description(&self) -> &str { function test_normalization (line 28) | fn test_normalization() { FILE: exercises/04_traits/08_sized/src/lib.rs function example (line 1) | pub fn example() { FILE: exercises/04_traits/09_from/src/lib.rs type WrappingU32 (line 3) | pub struct WrappingU32 { function example (line 7) | fn example() { FILE: exercises/04_traits/10_assoc_vs_generic/src/lib.rs function test_power_u16 (line 21) | fn test_power_u16() { function test_power_u32 (line 27) | fn test_power_u32() { function test_power_ref_u32 (line 33) | fn test_power_ref_u32() { FILE: exercises/04_traits/11_clone/src/lib.rs function summary (line 4) | pub fn summary(ticket: Ticket) -> (Ticket, Summary) { type Ticket (line 8) | pub struct Ticket { method summary (line 15) | pub fn summary(self) -> Summary { type Summary (line 23) | pub struct Summary { FILE: exercises/04_traits/12_copy/src/lib.rs type WrappingU32 (line 4) | pub struct WrappingU32 { method new (line 9) | pub fn new(value: u32) -> Self { function test_ops (line 19) | fn test_ops() { FILE: exercises/04_traits/13_drop/src/lib.rs function test_drop_bomb (line 11) | fn test_drop_bomb() { function test_defused_drop_bomb (line 17) | fn test_defused_drop_bomb() { FILE: exercises/04_traits/14_outro/tests/integration.rs function test_saturating_u16 (line 4) | fn test_saturating_u16() { FILE: exercises/05_ticket_v2/00_intro/src/lib.rs function intro (line 1) | fn intro() -> &'static str { function test_intro (line 11) | fn test_intro() { FILE: exercises/05_ticket_v2/01_enum/src/lib.rs type Ticket (line 7) | struct Ticket { method new (line 18) | pub fn new(title: String, description: String, status: String) -> Tick... method title (line 42) | pub fn title(&self) -> &String { method description (line 46) | pub fn description(&self) -> &String { method status (line 50) | pub fn status(&self) -> &String { type Status (line 13) | enum Status { function test_partial_eq (line 61) | fn test_partial_eq() { function test_description_not_matching (line 78) | fn test_description_not_matching() { function test_title_not_matching (line 95) | fn test_title_not_matching() { function test_status_not_matching (line 112) | fn test_status_not_matching() { FILE: exercises/05_ticket_v2/02_match/src/lib.rs type Shape (line 1) | enum Shape { method n_sides (line 11) | pub fn n_sides(&self) -> u8 { function test_circle (line 21) | fn test_circle() { function test_square (line 26) | fn test_square() { function test_rectangle (line 31) | fn test_rectangle() { function test_triangle (line 36) | fn test_triangle() { function test_pentagon (line 41) | fn test_pentagon() { FILE: exercises/05_ticket_v2/03_variants_with_data/src/lib.rs type Ticket (line 6) | struct Ticket { method new (line 20) | pub fn new(title: String, description: String, status: Status) -> Tick... method assigned_to (line 40) | pub fn assigned_to(&self) -> &str { type Status (line 13) | enum Status { function test_todo (line 52) | fn test_todo() { function test_done (line 59) | fn test_done() { function test_in_progress (line 65) | fn test_in_progress() { FILE: exercises/05_ticket_v2/04_if_let/src/lib.rs type Shape (line 1) | enum Shape { method radius (line 10) | pub fn radius(&self) -> f64 { function test_circle (line 20) | fn test_circle() { function test_square (line 26) | fn test_square() { function test_rectangle (line 32) | fn test_rectangle() { FILE: exercises/05_ticket_v2/05_nullability/src/lib.rs type Ticket (line 4) | struct Ticket { method new (line 18) | pub fn new(title: String, description: String, status: Status) -> Tick... method assigned_to (line 38) | pub fn assigned_to(&self) -> Option<&String> { type Status (line 11) | enum Status { function test_todo (line 49) | fn test_todo() { function test_done (line 55) | fn test_done() { function test_in_progress (line 61) | fn test_in_progress() { FILE: exercises/05_ticket_v2/06_fallibility/src/lib.rs type Ticket (line 5) | struct Ticket { method new (line 19) | pub fn new(title: String, description: String, status: Status) -> Tick... type Status (line 12) | enum Status { function title_cannot_be_empty (line 47) | fn title_cannot_be_empty() { function description_cannot_be_empty (line 53) | fn description_cannot_be_empty() { function title_cannot_be_longer_than_fifty_chars (line 59) | fn title_cannot_be_longer_than_fifty_chars() { function description_cannot_be_longer_than_500_chars (line 66) | fn description_cannot_be_longer_than_500_chars() { FILE: exercises/05_ticket_v2/07_unwrap/src/lib.rs function easy_ticket (line 4) | fn easy_ticket(title: String, description: String, status: Status) -> Ti... type Ticket (line 9) | struct Ticket { method new (line 23) | pub fn new(title: String, description: String, status: Status) -> Resu... type Status (line 16) | enum Status { function title_cannot_be_empty (line 52) | fn title_cannot_be_empty() { function template_description_is_used_if_empty (line 57) | fn template_description_is_used_if_empty() { function title_cannot_be_longer_than_fifty_chars (line 64) | fn title_cannot_be_longer_than_fifty_chars() { function template_description_is_used_if_too_long (line 69) | fn template_description_is_used_if_too_long() { FILE: exercises/05_ticket_v2/08_error_enums/src/lib.rs type TicketNewError (line 4) | enum TicketNewError {} function easy_ticket (line 10) | fn easy_ticket(title: String, description: String, status: Status) -> Ti... type Ticket (line 15) | struct Ticket { method new (line 29) | pub fn new( type Status (line 22) | enum Status { function title_cannot_be_empty (line 62) | fn title_cannot_be_empty() { function template_description_is_used_if_empty (line 67) | fn template_description_is_used_if_empty() { function title_cannot_be_longer_than_fifty_chars (line 74) | fn title_cannot_be_longer_than_fifty_chars() { function template_description_is_used_if_too_long (line 79) | fn template_description_is_used_if_too_long() { FILE: exercises/05_ticket_v2/09_error_trait/src/lib.rs type TicketNewError (line 6) | enum TicketNewError { function easy_ticket (line 15) | fn easy_ticket(title: String, description: String, status: Status) -> Ti... type Ticket (line 20) | struct Ticket { method new (line 34) | pub fn new( type Status (line 27) | enum Status { function title_cannot_be_empty (line 76) | fn title_cannot_be_empty() { function template_description_is_used_if_empty (line 81) | fn template_description_is_used_if_empty() { function title_cannot_be_longer_than_fifty_chars (line 88) | fn title_cannot_be_longer_than_fifty_chars() { function template_description_is_used_if_too_long (line 93) | fn template_description_is_used_if_too_long() { function display_is_correctly_implemented (line 99) | fn display_is_correctly_implemented() { FILE: exercises/05_ticket_v2/10_packages/src/main.rs function main (line 9) | fn main() { FILE: exercises/05_ticket_v2/12_thiserror/src/lib.rs type TicketNewError (line 6) | enum TicketNewError { type Ticket (line 14) | struct Ticket { method new (line 28) | pub fn new( type Status (line 21) | enum Status { function title_cannot_be_empty (line 60) | fn title_cannot_be_empty() { function description_cannot_be_empty (line 66) | fn description_cannot_be_empty() { function title_cannot_be_longer_than_fifty_chars (line 72) | fn title_cannot_be_longer_than_fifty_chars() { function description_cannot_be_too_long (line 78) | fn description_cannot_be_too_long() { FILE: exercises/05_ticket_v2/13_try_from/src/lib.rs type Status (line 5) | enum Status { function test_try_from_string (line 17) | fn test_try_from_string() { function test_try_from_str (line 29) | fn test_try_from_str() { FILE: exercises/05_ticket_v2/14_source/src/lib.rs type TicketNewError (line 17) | pub enum TicketNewError { type Ticket (line 29) | pub struct Ticket { method new (line 36) | pub fn new(title: String, description: String, status: String) -> Resu... function invalid_status (line 68) | fn invalid_status() { FILE: exercises/05_ticket_v2/14_source/src/status.rs type Status (line 2) | pub enum Status { type Error (line 9) | type Error = ParseStatusError; method try_from (line 11) | fn try_from(value: String) -> Result { type ParseStatusError (line 26) | pub struct ParseStatusError { function test_try_from_string (line 36) | fn test_try_from_string() { FILE: exercises/05_ticket_v2/15_outro/src/description.rs type TicketDescription (line 5) | pub struct TicketDescription(String); function test_try_from_string (line 13) | fn test_try_from_string() { function test_try_from_empty_string (line 19) | fn test_try_from_empty_string() { function test_try_from_long_string (line 25) | fn test_try_from_long_string() { function test_try_from_str (line 35) | fn test_try_from_str() { FILE: exercises/05_ticket_v2/15_outro/src/lib.rs type Ticket (line 24) | pub struct Ticket { FILE: exercises/05_ticket_v2/15_outro/src/status.rs type Status (line 4) | pub enum Status { function test_try_from_string (line 16) | fn test_try_from_string() { function test_try_from_str (line 28) | fn test_try_from_str() { function test_try_from_invalid (line 40) | fn test_try_from_invalid() { FILE: exercises/05_ticket_v2/15_outro/src/title.rs type TicketTitle (line 5) | pub struct TicketTitle(String); function test_try_from_string (line 13) | fn test_try_from_string() { function test_try_from_empty_string (line 19) | fn test_try_from_empty_string() { function test_try_from_long_string (line 25) | fn test_try_from_long_string() { function test_try_from_str (line 34) | fn test_try_from_str() { FILE: exercises/06_ticket_management/00_intro/src/lib.rs function intro (line 1) | fn intro() -> &'static str { function test_intro (line 11) | fn test_intro() { FILE: exercises/06_ticket_management/01_arrays/src/lib.rs type WeekTemperatures (line 3) | pub struct WeekTemperatures { method new (line 18) | pub fn new() -> Self { method get_temperature (line 22) | pub fn get_temperature(&self, day: Weekday) -> Option { method set_temperature (line 26) | pub fn set_temperature(&mut self, day: Weekday, temperature: i32) { type Weekday (line 7) | pub enum Weekday { function test_get_temperature (line 36) | fn test_get_temperature() { FILE: exercises/06_ticket_management/02_vec/src/lib.rs function fibonacci (line 13) | pub fn fibonacci(n: u32) -> u32 { function first (line 26) | fn first() { function second (line 31) | fn second() { function third (line 36) | fn third() { function tenth (line 41) | fn tenth() { function thirtieth (line 46) | fn thirtieth() { FILE: exercises/06_ticket_management/03_resizing/src/lib.rs function resizing (line 4) | fn resizing() { FILE: exercises/06_ticket_management/04_iterators/src/lib.rs type TicketStore (line 12) | pub struct TicketStore { method new (line 31) | pub fn new() -> Self { method add_ticket (line 37) | pub fn add_ticket(&mut self, ticket: Ticket) { type Ticket (line 17) | pub struct Ticket { type Status (line 24) | pub enum Status { function add_ticket (line 48) | fn add_ticket() { FILE: exercises/06_ticket_management/05_iter/src/lib.rs type TicketStore (line 9) | pub struct TicketStore { method new (line 28) | pub fn new() -> Self { method add_ticket (line 34) | pub fn add_ticket(&mut self, ticket: Ticket) { type Ticket (line 14) | pub struct Ticket { type Status (line 21) | pub enum Status { function add_ticket (line 45) | fn add_ticket() { FILE: exercises/06_ticket_management/06_lifetimes/src/lib.rs type TicketStore (line 5) | pub struct TicketStore { method new (line 24) | pub fn new() -> Self { method add_ticket (line 30) | pub fn add_ticket(&mut self, ticket: Ticket) { method iter (line 34) | pub fn iter(&self) -> std::slice::Iter { type Ticket (line 10) | pub struct Ticket { type Status (line 17) | pub enum Status { function add_ticket (line 45) | fn add_ticket() { FILE: exercises/06_ticket_management/07_combinators/src/lib.rs type TicketStore (line 6) | pub struct TicketStore { method new (line 25) | pub fn new() -> Self { method add_ticket (line 31) | pub fn add_ticket(&mut self, ticket: Ticket) { type Ticket (line 11) | pub struct Ticket { type Status (line 18) | pub enum Status { function todos (line 42) | fn todos() { FILE: exercises/06_ticket_management/08_impl_trait/src/lib.rs type TicketStore (line 6) | pub struct TicketStore { method new (line 25) | pub fn new() -> Self { method add_ticket (line 31) | pub fn add_ticket(&mut self, ticket: Ticket) { type Ticket (line 11) | pub struct Ticket { type Status (line 18) | pub enum Status { function in_progress (line 42) | fn in_progress() { FILE: exercises/06_ticket_management/09_impl_trait_2/src/lib.rs type TicketStore (line 7) | pub struct TicketStore { method new (line 26) | pub fn new() -> Self { method add_ticket (line 36) | pub fn add_ticket(&mut self, ticket: impl Into) { type Ticket (line 12) | pub struct Ticket { method from (line 52) | fn from(draft: TicketDraft) -> Self { type Status (line 19) | pub enum Status { type TicketDraft (line 46) | struct TicketDraft { function generic_add (line 62) | fn generic_add() { FILE: exercises/06_ticket_management/10_slices/src/lib.rs function empty (line 9) | fn empty() { function one_element (line 15) | fn one_element() { function multiple_elements (line 21) | fn multiple_elements() { function array_slice (line 27) | fn array_slice() { FILE: exercises/06_ticket_management/11_mutable_slices/src/lib.rs function empty (line 9) | fn empty() { function one (line 16) | fn one() { function multiple (line 23) | fn multiple() { FILE: exercises/06_ticket_management/12_two_states/src/lib.rs type TicketStore (line 12) | pub struct TicketStore { method new (line 41) | pub fn new() -> Self { method add_ticket (line 47) | pub fn add_ticket(&mut self, ticket: Ticket) { type TicketId (line 17) | pub struct TicketId(u64); type Ticket (line 20) | pub struct Ticket { type TicketDraft (line 28) | pub struct TicketDraft { type Status (line 34) | pub enum Status { function works (line 58) | fn works() { FILE: exercises/06_ticket_management/13_index/src/lib.rs type TicketStore (line 6) | pub struct TicketStore { method new (line 36) | pub fn new() -> Self { method add_ticket (line 43) | pub fn add_ticket(&mut self, ticket: TicketDraft) -> TicketId { method get (line 56) | pub fn get(&self, id: TicketId) -> Option<&Ticket> { type TicketId (line 12) | pub struct TicketId(u64); type Ticket (line 15) | pub struct Ticket { type TicketDraft (line 23) | pub struct TicketDraft { type Status (line 29) | pub enum Status { function works (line 67) | fn works() { FILE: exercises/06_ticket_management/14_index_mut/src/lib.rs type TicketStore (line 7) | pub struct TicketStore { method new (line 37) | pub fn new() -> Self { method add_ticket (line 44) | pub fn add_ticket(&mut self, ticket: TicketDraft) -> TicketId { method get (line 57) | pub fn get(&self, id: TicketId) -> Option<&Ticket> { type Output (line 63) | type Output = Ticket; method index (line 65) | fn index(&self, index: TicketId) -> &Self::Output { type Output (line 71) | type Output = Ticket; method index (line 73) | fn index(&self, index: &TicketId) -> &Self::Output { type TicketId (line 13) | pub struct TicketId(u64); type Ticket (line 16) | pub struct Ticket { type TicketDraft (line 24) | pub struct TicketDraft { type Status (line 30) | pub enum Status { function works (line 84) | fn works() { FILE: exercises/06_ticket_management/15_hashmap/src/lib.rs type TicketStore (line 9) | pub struct TicketStore { method new (line 39) | pub fn new() -> Self { method add_ticket (line 46) | pub fn add_ticket(&mut self, ticket: TicketDraft) -> TicketId { method get (line 59) | pub fn get(&self, id: TicketId) -> Option<&Ticket> { method get_mut (line 63) | pub fn get_mut(&mut self, id: TicketId) -> Option<&mut Ticket> { type Output (line 69) | type Output = Ticket; method index (line 71) | fn index(&self, index: TicketId) -> &Self::Output { type Output (line 77) | type Output = Ticket; method index (line 79) | fn index(&self, index: &TicketId) -> &Self::Output { method index_mut (line 85) | fn index_mut(&mut self, index: TicketId) -> &mut Self::Output { method index_mut (line 91) | fn index_mut(&mut self, index: &TicketId) -> &mut Self::Output { type TicketId (line 15) | pub struct TicketId(u64); type Ticket (line 18) | pub struct Ticket { type TicketDraft (line 26) | pub struct TicketDraft { type Status (line 32) | pub enum Status { function works (line 102) | fn works() { FILE: exercises/06_ticket_management/16_btreemap/src/lib.rs type TicketStore (line 11) | pub struct TicketStore { method new (line 41) | pub fn new() -> Self { method add_ticket (line 48) | pub fn add_ticket(&mut self, ticket: TicketDraft) -> TicketId { method get (line 61) | pub fn get(&self, id: TicketId) -> Option<&Ticket> { method get_mut (line 65) | pub fn get_mut(&mut self, id: TicketId) -> Option<&mut Ticket> { type Output (line 71) | type Output = Ticket; method index (line 73) | fn index(&self, index: TicketId) -> &Self::Output { type Output (line 79) | type Output = Ticket; method index (line 81) | fn index(&self, index: &TicketId) -> &Self::Output { method index_mut (line 87) | fn index_mut(&mut self, index: TicketId) -> &mut Self::Output { method index_mut (line 93) | fn index_mut(&mut self, index: &TicketId) -> &mut Self::Output { type TicketId (line 17) | pub struct TicketId(u64); type Ticket (line 20) | pub struct Ticket { type TicketDraft (line 28) | pub struct TicketDraft { type Status (line 34) | pub enum Status { function works (line 104) | fn works() { FILE: exercises/07_threads/00_intro/src/lib.rs function intro (line 1) | fn intro() -> &'static str { function test_intro (line 11) | fn test_intro() { FILE: exercises/07_threads/01_threads/src/lib.rs function sum (line 17) | pub fn sum(v: Vec) -> i32 { function empty (line 26) | fn empty() { function one (line 31) | fn one() { function five (line 36) | fn five() { function nine (line 41) | fn nine() { function ten (line 46) | fn ten() { FILE: exercises/07_threads/02_static/src/lib.rs function sum (line 6) | pub fn sum(slice: &'static [i32]) -> i32 { function empty (line 15) | fn empty() { function one (line 21) | fn one() { function five (line 27) | fn five() { function nine (line 33) | fn nine() { function ten (line 39) | fn ten() { FILE: exercises/07_threads/03_leak/src/lib.rs function sum (line 8) | pub fn sum(v: Vec) -> i32 { function empty (line 17) | fn empty() { function one (line 22) | fn one() { function five (line 27) | fn five() { function nine (line 32) | fn nine() { function ten (line 37) | fn ten() { FILE: exercises/07_threads/04_scoped_threads/src/lib.rs function sum (line 5) | pub fn sum(v: Vec) -> i32 { function empty (line 14) | fn empty() { function one (line 19) | fn one() { function five (line 24) | fn five() { function nine (line 29) | fn nine() { function ten (line 34) | fn ten() { FILE: exercises/07_threads/05_channels/src/data.rs type Ticket (line 5) | pub struct Ticket { type TicketDraft (line 13) | pub struct TicketDraft { type Status (line 19) | pub enum Status { FILE: exercises/07_threads/05_channels/src/lib.rs type Command (line 6) | pub enum Command { function launch (line 13) | pub fn launch() -> Sender { function server (line 23) | pub fn server(receiver: Receiver) {} FILE: exercises/07_threads/05_channels/src/store.rs type TicketId (line 5) | pub struct TicketId(u64); type TicketStore (line 8) | pub struct TicketStore { method new (line 14) | pub fn new() -> Self { method add_ticket (line 21) | pub fn add_ticket(&mut self, ticket: TicketDraft) -> TicketId { FILE: exercises/07_threads/05_channels/tests/insert.rs function a_thread_is_spawned (line 9) | fn a_thread_is_spawned() { function ready (line 24) | fn ready() { FILE: exercises/07_threads/06_interior_mutability/src/lib.rs type DropTracker (line 7) | pub struct DropTracker { function new (line 13) | pub fn new(value: T, counter: todo!()) -> Self { method drop (line 19) | fn drop(&mut self) { function it_works (line 29) | fn it_works() { function multiple (line 36) | fn multiple() { FILE: exercises/07_threads/07_ack/src/data.rs type Ticket (line 5) | pub struct Ticket { type TicketDraft (line 13) | pub struct TicketDraft { type Status (line 19) | pub enum Status { FILE: exercises/07_threads/07_ack/src/lib.rs type Command (line 8) | pub enum Command { function launch (line 13) | pub fn launch() -> Sender { function server (line 20) | pub fn server(receiver: Receiver) { FILE: exercises/07_threads/07_ack/src/store.rs type TicketId (line 5) | pub struct TicketId(u64); type TicketStore (line 8) | pub struct TicketStore { method new (line 14) | pub fn new() -> Self { method add_ticket (line 21) | pub fn add_ticket(&mut self, ticket: TicketDraft) -> TicketId { method get (line 34) | pub fn get(&self, id: TicketId) -> Option<&Ticket> { FILE: exercises/07_threads/07_ack/tests/insert.rs function insert_works (line 7) | fn insert_works() { FILE: exercises/07_threads/08_client/src/data.rs type Ticket (line 5) | pub struct Ticket { type TicketDraft (line 13) | pub struct TicketDraft { type Status (line 19) | pub enum Status { FILE: exercises/07_threads/08_client/src/lib.rs type TicketStoreClient (line 10) | pub struct TicketStoreClient {} method insert (line 14) | pub fn insert(&self, draft: TicketDraft) -> TicketId { method get (line 18) | pub fn get(&self, id: TicketId) -> Option { function launch (line 23) | pub fn launch() -> TicketStoreClient { type Command (line 30) | enum Command { function server (line 41) | fn server(receiver: Receiver) { FILE: exercises/07_threads/08_client/src/store.rs type TicketId (line 5) | pub struct TicketId(u64); type TicketStore (line 8) | pub struct TicketStore { method new (line 14) | pub fn new() -> Self { method add_ticket (line 21) | pub fn add_ticket(&mut self, ticket: TicketDraft) -> TicketId { method get (line 34) | pub fn get(&self, id: TicketId) -> Option<&Ticket> { FILE: exercises/07_threads/08_client/tests/insert.rs function insert_works (line 6) | fn insert_works() { FILE: exercises/07_threads/09_bounded/src/data.rs type Ticket (line 5) | pub struct Ticket { type TicketDraft (line 13) | pub struct TicketDraft { type Status (line 19) | pub enum Status { FILE: exercises/07_threads/09_bounded/src/lib.rs type TicketStoreClient (line 10) | pub struct TicketStoreClient { method insert (line 15) | pub fn insert(&self, draft: TicketDraft) -> Result { method get (line 19) | pub fn get(&self, id: TicketId) -> Result, todo!()> { function launch (line 24) | pub fn launch(capacity: usize) -> TicketStoreClient { type Command (line 30) | enum Command { function server (line 41) | pub fn server(receiver: Receiver) { FILE: exercises/07_threads/09_bounded/src/store.rs type TicketId (line 5) | pub struct TicketId(u64); type TicketStore (line 8) | pub struct TicketStore { method new (line 14) | pub fn new() -> Self { method add_ticket (line 21) | pub fn add_ticket(&mut self, ticket: TicketDraft) -> TicketId { method get (line 34) | pub fn get(&self, id: TicketId) -> Option<&Ticket> { FILE: exercises/07_threads/09_bounded/tests/insert.rs function works (line 6) | fn works() { FILE: exercises/07_threads/10_patch/src/data.rs type Ticket (line 5) | pub struct Ticket { type TicketDraft (line 13) | pub struct TicketDraft { type TicketPatch (line 19) | pub struct TicketPatch { type Status (line 27) | pub enum Status { FILE: exercises/07_threads/10_patch/src/lib.rs type TicketStoreClient (line 11) | pub struct TicketStoreClient { method insert (line 16) | pub fn insert(&self, draft: TicketDraft) -> Result Result, OverloadedEr... method update (line 38) | pub fn update(&self, ticket_patch: TicketPatch) -> Result<(), Overload... type OverloadedError (line 43) | pub struct OverloadedError; function launch (line 45) | pub fn launch(capacity: usize) -> TicketStoreClient { type Command (line 51) | enum Command { function server (line 66) | pub fn server(receiver: Receiver) { FILE: exercises/07_threads/10_patch/src/store.rs type TicketId (line 5) | pub struct TicketId(u64); type TicketStore (line 8) | pub struct TicketStore { method new (line 14) | pub fn new() -> Self { method add_ticket (line 21) | pub fn add_ticket(&mut self, ticket: TicketDraft) -> TicketId { method get (line 34) | pub fn get(&self, id: TicketId) -> Option<&Ticket> { method get_mut (line 38) | pub fn get_mut(&mut self, id: TicketId) -> Option<&mut Ticket> { FILE: exercises/07_threads/10_patch/tests/check.rs function works (line 6) | fn works() { FILE: exercises/07_threads/11_locks/src/data.rs type Ticket (line 5) | pub struct Ticket { type TicketDraft (line 13) | pub struct TicketDraft { type Status (line 19) | pub enum Status { FILE: exercises/07_threads/11_locks/src/lib.rs type TicketStoreClient (line 14) | pub struct TicketStoreClient { method insert (line 19) | pub fn insert(&self, draft: TicketDraft) -> Result Result>>, ... type OverloadedError (line 44) | pub struct OverloadedError; function launch (line 46) | pub fn launch(capacity: usize) -> TicketStoreClient { type Command (line 52) | enum Command { function server (line 63) | pub fn server(receiver: Receiver) { FILE: exercises/07_threads/11_locks/src/store.rs type TicketId (line 6) | pub struct TicketId(u64); type TicketStore (line 9) | pub struct TicketStore { method new (line 15) | pub fn new() -> Self { method add_ticket (line 22) | pub fn add_ticket(&mut self, ticket: TicketDraft) -> TicketId { method get (line 37) | pub fn get(&self, id: TicketId) -> Option { FILE: exercises/07_threads/11_locks/tests/check.rs function works (line 6) | fn works() { FILE: exercises/07_threads/12_rw_lock/src/data.rs type Ticket (line 5) | pub struct Ticket { type TicketDraft (line 13) | pub struct TicketDraft { type Status (line 19) | pub enum Status { FILE: exercises/07_threads/12_rw_lock/src/lib.rs type TicketStoreClient (line 13) | pub struct TicketStoreClient { method insert (line 18) | pub fn insert(&self, draft: TicketDraft) -> Result Result>>, ... type OverloadedError (line 43) | pub struct OverloadedError; function launch (line 45) | pub fn launch(capacity: usize) -> TicketStoreClient { type Command (line 51) | enum Command { function server (line 62) | pub fn server(receiver: Receiver) { FILE: exercises/07_threads/12_rw_lock/src/store.rs type TicketId (line 6) | pub struct TicketId(u64); type TicketStore (line 9) | pub struct TicketStore { method new (line 15) | pub fn new() -> Self { method add_ticket (line 22) | pub fn add_ticket(&mut self, ticket: TicketDraft) -> TicketId { method get (line 38) | pub fn get(&self, id: TicketId) -> Option>> { FILE: exercises/07_threads/12_rw_lock/tests/check.rs function works (line 6) | fn works() { FILE: exercises/07_threads/13_without_channels/src/data.rs type Ticket (line 5) | pub struct Ticket { type TicketDraft (line 13) | pub struct TicketDraft { type Status (line 19) | pub enum Status { FILE: exercises/07_threads/13_without_channels/src/store.rs type TicketId (line 7) | pub struct TicketId(u64); type TicketStore (line 10) | pub struct TicketStore { method new (line 16) | pub fn new() -> Self { method add_ticket (line 23) | pub fn add_ticket(&mut self, ticket: TicketDraft) -> TicketId { method get (line 37) | pub fn get(&self, id: TicketId) -> Option>> { FILE: exercises/07_threads/13_without_channels/tests/check.rs function works (line 9) | fn works() { FILE: exercises/07_threads/14_sync/src/lib.rs function outro (line 2) | fn outro() -> &'static str { function test_outro (line 11) | fn test_outro() { FILE: exercises/08_futures/00_intro/src/lib.rs function intro (line 1) | fn intro() -> &'static str { function test_intro (line 11) | fn test_intro() { FILE: exercises/08_futures/01_async_fn/src/lib.rs function echo (line 13) | pub async fn echo(listener: TcpListener) -> Result<(), anyhow::Error> { function test_echo (line 23) | async fn test_echo() { FILE: exercises/08_futures/02_spawn/src/lib.rs function echoes (line 6) | pub async fn echoes(first: TcpListener, second: TcpListener) -> Result<(... function bind_random (line 18) | async fn bind_random() -> (TcpListener, SocketAddr) { function test_echo (line 25) | async fn test_echo() { FILE: exercises/08_futures/03_runtime/src/lib.rs function fixed_reply (line 8) | pub async fn fixed_reply(first: TcpListener, second: TcpListener, rep... function bind_random (line 24) | async fn bind_random() -> (TcpListener, SocketAddr) { function test_echo (line 31) | async fn test_echo() { FILE: exercises/08_futures/04_future/src/lib.rs function spawner (line 8) | fn spawner() { function example (line 12) | async fn example() { FILE: exercises/08_futures/05_blocking/src/lib.rs function echo (line 8) | pub async fn echo(listener: TcpListener) -> Result<(), anyhow::Error> { function bind_random (line 27) | async fn bind_random() -> (TcpListener, SocketAddr) { function test_echo (line 34) | async fn test_echo() { FILE: exercises/08_futures/06_async_aware_primitives/src/lib.rs type Message (line 9) | pub struct Message { function pong (line 16) | pub async fn pong(mut receiver: mpsc::Receiver) { function ping (line 38) | async fn ping() { FILE: exercises/08_futures/07_cancellation/src/lib.rs function run (line 7) | pub async fn run(listener: TcpListener, n_messages: usize, timeout: Dura... function ping (line 25) | async fn ping() { FILE: helpers/common/src/lib.rs function overly_long_description (line 1) | pub fn overly_long_description() -> String { function overly_long_title (line 5) | pub fn overly_long_title() -> String { function valid_title (line 9) | pub fn valid_title() -> String { function valid_description (line 13) | pub fn valid_description() -> String { FILE: helpers/mdbook-exercise-linker/src/lib.rs type ExerciseLinker (line 6) | pub struct ExerciseLinker; method new (line 9) | pub fn new() -> ExerciseLinker { method name (line 15) | fn name(&self) -> &str { method run (line 19) | fn run(&self, ctx: &PreprocessorContext, mut book: Book) -> Result bool { function process_book_item (line 44) | fn process_book_item(item: &mut BookItem, renderer: &str, root_url: &str) { FILE: helpers/mdbook-exercise-linker/src/main.rs function make_app (line 11) | pub fn make_app() -> Command { function main (line 19) | fn main() { function handle_preprocessing (line 33) | fn handle_preprocessing(pre: &dyn Preprocessor) -> Result<(), Error> { function handle_supports (line 55) | fn handle_supports(pre: &dyn Preprocessor, sub_args: &ArgMatches) -> ! { FILE: helpers/mdbook-link-shortener/src/lib.rs type LinkShortener (line 12) | pub struct LinkShortener; method new (line 57) | pub fn new() -> LinkShortener { type AliasGenerator (line 14) | struct AliasGenerator { constant ALPHABET (line 19) | const ALPHABET: &'static [u8] = b"f2z4x6v8bnm3q5w7e9rtyuplkshgjdca"; method new (line 21) | fn new() -> AliasGenerator { method next (line 28) | fn next(&mut self) -> String { method next_until_unique (line 47) | fn next_until_unique(&mut self, link2alias: &BiHashMap... method name (line 63) | fn name(&self) -> &str { method run (line 67) | fn run(&self, ctx: &PreprocessorContext, mut book: Book) -> Result bool { function replace_anchors (line 147) | fn replace_anchors( FILE: helpers/mdbook-link-shortener/src/main.rs type Cli (line 11) | pub struct Cli { type SubCommand (line 17) | pub enum SubCommand { type Supports (line 23) | pub struct Supports { function main (line 28) | fn main() -> Result<(), anyhow::Error> { function handle_preprocessing (line 46) | fn handle_preprocessing(pre: &dyn Preprocessor) -> Result<(), Error> { FILE: helpers/ticket_fields/src/description.rs type TicketDescription (line 2) | pub struct TicketDescription(String); type Error (line 13) | type Error = TicketDescriptionError; method try_from (line 15) | fn try_from(value: String) -> Result { type Error (line 22) | type Error = TicketDescriptionError; method try_from (line 24) | fn try_from(value: &str) -> Result { type TicketDescriptionError (line 5) | pub enum TicketDescriptionError { function validate (line 30) | fn validate(description: &str) -> Result<(), TicketDescriptionError> { function test_try_from_string (line 47) | fn test_try_from_string() { function test_try_from_empty_string (line 54) | fn test_try_from_empty_string() { function test_try_from_long_string (line 60) | fn test_try_from_long_string() { function test_try_from_str (line 69) | fn test_try_from_str() { FILE: helpers/ticket_fields/src/test_helpers.rs function ticket_title (line 6) | pub fn ticket_title() -> TicketTitle { function ticket_description (line 12) | pub fn ticket_description() -> TicketDescription { FILE: helpers/ticket_fields/src/title.rs type TicketTitle (line 4) | pub struct TicketTitle(String); type Error (line 15) | type Error = TicketTitleError; method try_from (line 17) | fn try_from(value: String) -> Result { type Error (line 24) | type Error = TicketTitleError; method try_from (line 26) | fn try_from(value: &str) -> Result { type TicketTitleError (line 7) | pub enum TicketTitleError { function validate (line 32) | fn validate(title: &str) -> Result<(), TicketTitleError> { function test_try_from_string (line 49) | fn test_try_from_string() { function test_try_from_empty_string (line 56) | fn test_try_from_empty_string() { function test_try_from_long_string (line 62) | fn test_try_from_long_string() { function test_try_from_str (line 68) | fn test_try_from_str() {