study_example/
lib.rs

1//! # Study Rust example Crate
2//! > Study Rust example 是按照`The Rust Programming Language`这本书的章节的示例进行学习的代码部分
3//!
4//! - 每个章节为一个模块,特殊的章节除外比如test、文档注释都是写在之前的示例上进行展示;
5//! - 每个章节的每一小节为一个子模块,模块树对应目录,每个子模块暴露一个公共的方法用于main函数进行调用测试
6//
7pub mod advance_feature;
8pub mod basic_concept;
9pub mod common_collection;
10pub mod concurrency;
11pub mod enum_pattern_match;
12pub mod error_handle;
13pub mod generic_traits_lifetime;
14pub mod iterator_closure;
15pub mod object_oriented;
16pub mod ownership;
17pub mod package_crate_module;
18pub mod pattern_match;
19pub mod smart_pointer;
20pub mod struct_related;
21
22pub use self::basic_concept::basic_concept::control_flow;
23pub use self::common_collection::hash_map_study;
24pub use self::enum_pattern_match::enum_pattern_match::match_control_flow;
25pub use self::error_handle::result_recorverable;
26pub use self::generic_traits_lifetime::mix_usage;
27pub use self::iterator_closure::closure_study;
28pub use self::ownership::ownership::reference_borrow;
29pub use self::package_crate_module::package_crate_module::package_crate_path;
30pub use self::struct_related::retangle;