SYMBOL INDEX (297 symbols across 73 files) FILE: build.rs function main (line 5) | fn main() { FILE: resources/media-playback.js function setPlaybackSpeed (line 1) | function setPlaybackSpeed(speed) { FILE: src/bonus/_10.rs type Script (line 160) | pub struct Script; FILE: src/bonus/_13.rs type Script (line 255) | pub struct Script; FILE: src/bonus/_14.rs type Script (line 270) | pub struct Script; FILE: src/bonus/burnout.rs type Script (line 191) | pub struct Script; FILE: src/bonus/translating_between_languages.rs type Script (line 197) | pub struct Script; FILE: src/cysk/bindgen_cbindgen.rs type Script (line 282) | pub struct Script; FILE: src/cysk/serde.rs type Script (line 158) | pub struct Script; FILE: src/cysk/wasm.rs type Script (line 163) | pub struct Script; FILE: src/e000.rs function hello_world (line 44) | pub fn hello_world() { FILE: src/e001.rs type TVShow (line 89) | pub struct TVShow { method new (line 109) | pub fn new(theme: &str, year: i32, director: &str) -> TVShow { function use_members (line 123) | pub fn use_members() { FILE: src/e002.rs type Circle (line 58) | pub struct Circle { method origin (line 144) | fn origin(r: f64) -> Circle { method new (line 149) | pub fn new(x: f64, y: f64, r: f64) -> Circle { method x_by_ref (line 163) | pub fn x_by_ref(&self) -> f64 { method x_by_mut_ref (line 172) | pub fn x_by_mut_ref(&mut self) -> f64 { method by_take (line 185) | pub fn by_take(self) -> f64 { method by_take_mut (line 191) | pub fn by_take_mut(mut self) -> f64 { function demonstrate_ownership (line 68) | pub fn demonstrate_ownership() { function borrow (line 99) | pub fn borrow(ref_to_circle: &Circle) { function borrow_mut (line 115) | pub fn borrow_mut(mutable_ref_to_circle: &mut Circle) { function move_circle (line 127) | pub fn move_circle(moved_circle: Circle) { function demonstrate_method_ownership (line 199) | pub fn demonstrate_method_ownership() { FILE: src/e003.rs type PreexistingStruct (line 74) | pub struct PreexistingStruct { type RelatedishThings (line 100) | pub enum RelatedishThings { function get_unit (line 116) | fn get_unit() -> RelatedishThings { function get_name (line 121) | fn get_name() -> RelatedishThings { function get_value (line 126) | fn get_value() -> RelatedishThings { function get_complex_data (line 131) | fn get_complex_data() -> RelatedishThings { function get_reused_structure (line 139) | fn get_reused_structure() -> RelatedishThings { function demonstrate_basic_enumeration (line 156) | pub fn demonstrate_basic_enumeration() { function demonstrate_match (line 177) | pub fn demonstrate_match() { function get_an_option (line 218) | pub fn get_an_option(get_it: bool) -> Option { function demonstrate_option (line 230) | pub fn demonstrate_option() { function get_a_result (line 251) | pub fn get_a_result(succeeds: bool) -> Result { function demonstrate_result (line 264) | pub fn demonstrate_result() { FILE: src/e004.rs type MethodDemonstrator (line 62) | pub struct MethodDemonstrator { method new (line 89) | pub fn new() -> MethodDemonstrator { method method (line 108) | pub fn method(&self) { method get_hidden_data (line 129) | pub fn get_hidden_data(&self) -> (f64, String) { function demonstrate_methods (line 141) | pub fn demonstrate_methods() { function apply_function_to_i64 (line 162) | pub fn apply_function_to_i64(a_number_function: F, the_number: i64) -... function demonstrate_function_arguments (line 176) | pub fn demonstrate_function_arguments() { function demonstrate_closure_environment (line 207) | pub fn demonstrate_closure_environment() { function demonstrate (line 242) | fn demonstrate() { FILE: src/e005.rs function doubler_factory (line 91) | pub fn doubler_factory() -> Box i32> { function doubler_closure_factory (line 108) | pub fn doubler_closure_factory() -> Box i32> { function demonstrate_function_returns (line 154) | pub fn demonstrate_function_returns() { FILE: src/e006.rs function a_public_module_fn (line 85) | pub fn a_public_module_fn() { function a_private_module_fn (line 96) | fn a_private_module_fn() { function a_public_module_fn (line 111) | pub fn a_public_module_fn() { function some_private_fn (line 117) | fn some_private_fn() { function use_modules_internal (line 127) | pub fn use_modules_internal() { function demonstrate_globbed_calls (line 166) | pub fn demonstrate_globbed_calls() { function demonstrate_aliased_calls (line 174) | pub fn demonstrate_aliased_calls() { function demonstrate_use_inside_function (line 182) | pub fn demonstrate_use_inside_function() { FILE: src/e007.rs function add (line 96) | pub fn add(a: f64, b: f64) -> f64 { function test_add (line 107) | fn test_add() { function test_add_badly (line 138) | fn test_add_badly() { function test_will_panic (line 152) | fn test_will_panic() { function demonstrate_benchmarking (line 161) | fn demonstrate_benchmarking(bencher: &mut Bencher) { function support_function (line 172) | fn support_function(ns: u32) -> Duration { function demonstrate_benchmarking_with_sleep (line 182) | fn demonstrate_benchmarking_with_sleep(bencher: &mut Bencher) { FILE: src/e008.rs function a_generic (line 100) | pub fn a_generic(_t: T) { function a_generic_printable (line 107) | pub fn a_generic_printable(t: T) { type Maybe (line 113) | pub enum Maybe { type SimpleType (line 119) | pub struct SimpleType { method fmt (line 129) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type GenericContainer (line 139) | pub struct GenericContainer { type TestPoint (line 151) | struct TestPoint { type TestEnum (line 158) | enum TestEnum { function test_generic_fn (line 172) | fn test_generic_fn() { function test_generic_fn_with_debug_print (line 185) | fn test_generic_fn_with_debug_print() { function test_generic_enum (line 197) | fn test_generic_enum() { function test_generic_struct (line 220) | fn test_generic_struct() { function test_impl_display (line 235) | fn test_impl_display() { FILE: src/e009.rs type DoubleAndOne (line 116) | pub struct DoubleAndOne { method the_usual (line 123) | pub fn the_usual() -> DoubleAndOne { method fmt (line 151) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Output (line 167) | type Output = DoubleAndOne; method add (line 169) | fn add(self, rhs: DoubleAndOne) -> DoubleAndOne { type ASimpleTrait (line 132) | pub trait ASimpleTrait { method get_some_integer (line 134) | fn get_some_integer(&self) -> i64; method a_default_print (line 137) | fn a_default_print(&self) -> &str { method get_some_integer (line 145) | fn get_some_integer(&self) -> i64 { type Item (line 158) | type Item = DoubleAndOne; method next (line 160) | fn next(&mut self) -> Option { function demonstrate_for (line 177) | pub fn demonstrate_for() { function test_a_simple_trait (line 195) | fn test_a_simple_trait() { function test_iterator (line 204) | fn test_iterator() { function test_add (line 215) | fn test_add() { function test_together (line 222) | fn test_together() { FILE: src/e010.rs type TryResult (line 186) | pub type TryResult = Result; function demonstrate_try (line 191) | pub fn demonstrate_try(tr: TryResult) -> TryResult { function test_demonstrate_try (line 206) | fn test_demonstrate_try() { function test_print_ident_name (line 212) | fn test_print_ident_name() { FILE: src/e011.rs type Expressive (line 94) | pub enum Expressive { method fmt (line 104) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type Strong (line 119) | pub enum Strong { method fmt (line 127) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type StaticallyKnown (line 140) | pub enum StaticallyKnown { method fmt (line 146) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type TypeSystem (line 157) | pub struct TypeSystem { method builder (line 165) | pub fn builder( function describe_type_systems (line 187) | pub fn describe_type_systems() { FILE: src/e012.rs function functions_are_expressions (line 102) | pub fn functions_are_expressions() -> i32 { function if_blocks_are_expressions (line 119) | pub fn if_blocks_are_expressions() -> f64 { type ThreeTypes (line 147) | enum ThreeTypes { function match_blocks_are_expressions (line 157) | pub fn match_blocks_are_expressions() -> String { function ordinary_blocks_are_expressions (line 176) | pub fn ordinary_blocks_are_expressions() -> i32 { FILE: src/e013.rs type Individual (line 118) | pub struct Individual<'a> { type NumericReference (line 139) | pub enum NumericReference<'a> { function refs_all_around (line 159) | pub fn refs_all_around<'a>(input: &'a [i32]) -> Option<&'a [i32]> { function test_refs_all_around (line 172) | fn test_refs_all_around() { FILE: src/e014.rs function get_a_slice (line 105) | pub fn get_a_slice() -> &'static str { function get_a_string (line 110) | pub fn get_a_string() -> String { function show_from_behavior (line 117) | pub fn show_from_behavior() -> String { function demonstrate_unicode (line 122) | pub fn demonstrate_unicode() { function get_back_some_unicode (line 126) | pub fn get_back_some_unicode(desc: &str) -> String { function get_a_string_with_capacity (line 139) | pub fn get_a_string_with_capacity(capacity: usize) -> String { type Origin (line 159) | pub struct Origin; type DerefTarget (line 162) | pub struct DerefTarget; type Target (line 165) | type Target = DerefTarget; method deref (line 169) | fn deref(&self) -> &DerefTarget { function show_string_capacity (line 180) | fn show_string_capacity() { FILE: src/e015.rs type FileData (line 158) | pub struct FileData { method new (line 163) | pub fn new(contents: &str) -> FileData { type ASendableType (line 170) | pub struct ASendableType {} function print_rc_count (line 173) | pub fn print_rc_count(t: &Rc) { function print_rc_body (line 178) | fn print_rc_body(fd: &Rc) { function demonstrate_rc (line 183) | pub fn demonstrate_rc() { function get_empty_weak (line 219) | pub fn get_empty_weak(fd: Rc) -> Weak { function get_wrapped_file_data (line 223) | pub fn get_wrapped_file_data() -> Rc { FILE: src/e016.rs type SimpleContainer (line 150) | pub struct SimpleContainer { function demonstrate_need_for_cell (line 155) | pub fn demonstrate_need_for_cell() -> Vec> { function double_cell (line 174) | pub fn double_cell(containers: &[Cell]) { type SimpleNonCopyable (line 183) | pub struct SimpleNonCopyable { function add_to_each_string (line 188) | pub fn add_to_each_string(list_contained_strings: &[RefCell { function new (line 128) | pub fn new(contents: &'a i32) -> DataStore { function demonstrate_ref (line 134) | pub fn demonstrate_ref() { function demonstrate_deref (line 145) | pub fn demonstrate_deref() { function demonstrate_match (line 158) | pub fn demonstrate_match() { FILE: src/e018.rs type NoImplsAtAll (line 124) | pub struct NoImplsAtAll { method new (line 129) | pub fn new(contents: &[u8; 8]) -> NoImplsAtAll { type HasAllTheImpls (line 142) | pub struct HasAllTheImpls { method new (line 147) | pub fn new(contents: &[u8; 8]) -> HasAllTheImpls { method borrow (line 155) | fn borrow(&self) -> &[u8] { method as_ref (line 161) | fn as_ref(&self) -> &[u8] { type Target (line 167) | type Target = [u8]; method deref (line 169) | fn deref(&self) -> &[u8] { function takes_a_borrowable (line 175) | pub fn takes_a_borrowable>(b: B) { function takes_a_reference (line 182) | pub fn takes_a_reference>(a: A) { function coerces_via_deref (line 189) | pub fn coerces_via_deref(coerced: &[u8]) { function e018_demonstrate_borrow (line 200) | fn e018_demonstrate_borrow() { function e018_demonstrate_as_ref (line 218) | fn e018_demonstrate_as_ref() {} function e018_demonstrate_deref (line 221) | fn e018_demonstrate_deref() { FILE: src/e019.rs type ANoCopyOrClonePoint (line 216) | pub struct ANoCopyOrClonePoint { method origin (line 224) | pub fn origin() -> ANoCopyOrClonePoint { type BJustClonePoint (line 272) | pub struct BJustClonePoint { method origin (line 279) | pub fn origin() -> BJustClonePoint { type CCopyPoint (line 309) | pub struct CCopyPoint { method origin (line 317) | pub fn origin() -> CCopyPoint { function demonstrate_cow (line 346) | pub fn demonstrate_cow(_point: &BJustClonePoint) {} function demonstrate_mut_cow (line 363) | pub fn demonstrate_mut_cow(_point: &mut BJustClonePoint) {} FILE: src/e021.rs type Email (line 129) | pub type Email = String; type EmailStruct (line 170) | pub struct EmailStruct(pub String); method map (line 173) | pub fn map String>(self, f: F) -> EmailStruct { type Item (line 180) | type Item = EmailStruct; method next (line 182) | fn next(&mut self) -> Option { type Target (line 189) | type Target = String; method deref (line 191) | fn deref(&self) -> &String { type EmailEnum (line 214) | pub enum EmailEnum { type Target (line 219) | type Target = String; method deref (line 221) | fn deref(&self) -> &String { type ThingToDestructure (line 240) | pub struct ThingToDestructure { function send (line 253) | pub fn send(_to_address: Email) {} function takes_a_str (line 275) | pub fn takes_a_str(_some_str: &str) {} FILE: src/e022.rs type Script (line 147) | pub struct Script; function demo_send_and_sync (line 213) | pub fn demo_send_and_sync() { FILE: src/e023.rs type Script (line 182) | pub struct Script; type Eatable (line 185) | pub trait Eatable { method prepare (line 187) | fn prepare(&self) -> String; method eat (line 190) | fn eat(&self) -> String { method prepare (line 212) | fn prepare(&self) -> String { method prepare (line 233) | fn prepare(&self) -> String { method eat (line 242) | fn eat(&self) -> String { method prepare (line 257) | fn prepare(&self) -> String { method eat (line 261) | fn eat(&self) -> String { type Nomable (line 197) | pub trait Nomable { method eat (line 198) | fn eat(&self) -> String { type Breakfast (line 205) | pub enum Breakfast { type MoarBreakfast (line 222) | pub enum MoarBreakfast { function demo_eatable (line 267) | pub fn demo_eatable() { FILE: src/e024.rs type Script (line 177) | pub struct Script; type Point (line 201) | pub struct Point { type Output (line 208) | type Output = Point; method add (line 210) | fn add(self, other: Point) -> Point { type Eatable (line 220) | pub trait Eatable { method eat (line 221) | fn eat(&self) -> T; function eat (line 225) | fn eat(&self) -> String { function to_string_inline (line 231) | pub fn to_string_inline(t: T) -> String { function to_string_with_where (line 237) | pub fn to_string_with_where(t: T) -> String FILE: src/e025.rs type Point (line 221) | pub struct Point { type Output (line 227) | type Output = Point; method sub (line 229) | fn sub(self, other: &Point) -> Point { function distance_from_boxed (line 237) | pub fn distance_from_boxed<'a, 'b: 'a>(offset: &'b Point) -> Box = Box f32 + 'a>; function distance_from_alias (line 246) | pub fn distance_from_alias<'a, 'b: 'a>(offset: &'b Point) -> DistanceFro... function distance_from_impl (line 253) | pub fn distance_from_impl<'a, 'b: 'a>(offset: &'b Point) -> impl FnMut(&... type Script (line 261) | pub struct Script; FILE: src/e026.rs type Script (line 194) | pub struct Script; FILE: src/e027.rs type Script (line 280) | pub struct Script; FILE: src/e028.rs type Script (line 264) | pub struct Script; FILE: src/e029/ffi-demo.c function add (line 3) | int add(int a, int b) { function translate (line 7) | void translate(Point * point, float byX, float byY) { FILE: src/e029/ffi-demo.h type Point (line 3) | typedef struct Point { FILE: src/e029/mod.rs type Script (line 280) | pub struct Script; type Point (line 298) | pub struct Point { function add (line 327) | pub(super) fn add(a: c_int, b: c_int) -> c_int; function translate (line 342) | pub(super) fn translate(point: *mut Point, by_x: c_float, by_y: c_float); function add (line 367) | pub fn add(a: i32, b: i32) -> Option { function translate (line 394) | pub fn translate(point: &mut Point, by_x: f32, by_y: f32) { FILE: src/e030.rs type Script (line 279) | pub struct Script; function local (line 284) | fn local() {} function demo (line 291) | pub fn demo() { function sibling (line 322) | fn sibling() {} function only_in_child (line 328) | fn only_in_child() {} function also_only_in_child (line 332) | pub fn also_only_in_child() {} function demo (line 341) | pub fn demo() {} function demo (line 347) | pub fn demo() {} function demo (line 357) | pub fn demo() {} function demo (line 364) | pub fn demo() {} function demo (line 369) | pub fn demo() {} FILE: src/e031/e031.c function section (line 6) | void section() { printf("\n---\n\n"); } function main (line 8) | int main() { FILE: src/e031/e031.h type point_t (line 11) | typedef struct point { type opaque_point_t (line 20) | typedef struct opaque_point opaque_point_t; FILE: src/e031/mod.rs type Script (line 295) | pub struct Script; function add_in_rust (line 299) | pub extern "C" fn add_in_rust(a: c_int, b: c_int) -> c_int { function concat_strings (line 314) | pub unsafe extern "C" fn concat_strings( function free_rust_string (line 346) | pub unsafe extern "C" fn free_rust_string(to_free: *mut c_char) { type Point (line 362) | pub struct Point { method translate (line 370) | fn translate(&mut self, by_x: f32, by_y: f32) { function point_translate (line 382) | pub unsafe extern "C" fn point_translate(point: *mut Point, by_x: c_floa... type OpaquePoint (line 397) | pub struct OpaquePoint { method translate (line 403) | fn translate(&mut self, by_x: f32, by_y: f32) { method fmt (line 410) | fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { function opaque_point_translate (line 425) | pub unsafe extern "C" fn opaque_point_translate( function opaque_point_new (line 441) | pub extern "C" fn opaque_point_new(x: c_float, y: c_float) -> *mut Opaqu... function opaque_point_describe (line 449) | pub unsafe extern "C" fn opaque_point_describe(point: *mut OpaquePoint) ... function opaque_point_free (line 466) | pub unsafe extern "C" fn opaque_point_free(point: *mut OpaquePoint) { function demo_union (line 483) | pub fn demo_union() { type Tag (line 520) | pub enum Tag { type Wrapped (line 527) | pub struct Wrapped(T); type Either (line 539) | pub struct Either { FILE: src/interview/diesel_1_0/part_1.rs type Script (line 185) | pub struct Script; FILE: src/interview/diesel_1_0/part_2.rs type Script (line 177) | pub struct Script; FILE: src/interview/irr_2017/anna_liao.rs type Transcript (line 169) | pub struct Transcript; FILE: src/interview/irr_2017/lee_baillie.rs type Transcript (line 163) | pub struct Transcript; FILE: src/interview/irr_2017/matt_gathu.rs type Transcript (line 160) | pub struct Transcript; FILE: src/interview/rbr_2017/andrew_hobden.rs type Transcript (line 11) | pub struct Transcript; FILE: src/interview/rbr_2017/anthony_deschamps.rs type Transcript (line 11) | pub struct Transcript; FILE: src/interview/rbr_2017/arun_kulshreshthra.rs type Transcript (line 11) | pub struct Transcript; FILE: src/interview/rbr_2017/ben_striegel.rs type Transcript (line 11) | pub struct Transcript; FILE: src/interview/rbr_2017/colin_dean.rs type Transcript (line 11) | pub struct Transcript; FILE: src/interview/rbr_2017/holden_marcsisin.rs type Transcript (line 11) | pub struct Transcript; FILE: src/interview/rbr_2017/jess_saxeter.rs type Transcript (line 11) | pub struct Transcript; FILE: src/interview/rbr_2017/pete_lyons.rs type Transcript (line 11) | pub struct Transcript; FILE: src/meta/_3.rs type Script (line 255) | pub struct Script; FILE: src/news/rust_1_20.rs type Foo (line 144) | trait Foo { constant FOO (line 145) | const FOO: u32 = 0; type _Bar (line 148) | struct _Bar {} constant _BAR (line 151) | const _BAR: u32 = 50; type _Baz (line 156) | enum _Baz {} constant _BAZ (line 159) | const _BAZ: u32 = 100; function it_works (line 169) | fn it_works() { FILE: src/news/rust_1_21_1_22.rs type Script (line 171) | pub struct Script; FILE: src/news/rust_1_23.rs type Script (line 187) | pub struct Script; FILE: src/news/rust_1_24.rs type Script (line 156) | pub struct Script; FILE: src/news/rust_1_25.rs function demo_match (line 180) | pub fn demo_match(s: &str) { type Script (line 194) | pub struct Script; FILE: src/news/rust_1_26.rs type Script (line 186) | pub struct Script; FILE: src/news/rust_1_27.rs type Script (line 189) | pub struct Script; FILE: src/news/rust_1_28.rs type Script (line 198) | pub struct Script; FILE: src/news/rust_1_29_1_30.rs type Script (line 218) | pub struct Script; FILE: src/news/rust_1_31/part_1.rs type Script (line 233) | pub struct Script; FILE: src/news/rust_1_31/part_2.rs type Script (line 237) | pub struct Script; FILE: src/news/rust_1_32.rs type Script (line 244) | pub struct Script; FILE: src/news/rust_1_33_1_34.rs type Script (line 265) | pub struct Script; FILE: src/news/rust_1_35.rs type Script (line 287) | pub struct Script;