积分充值
 首页
前端开发
AngularDartElectronFlutterHTML/CSSJavaScriptReactSvelteTypeScriptVue.js构建工具
后端开发
.NetC#C++C语言DenoffmpegGoIdrisJavaJuliaKotlinLeanMakefilenimNode.jsPascalPHPPythonRISC-VRubyRustSwiftUML其它语言区块链开发测试微服务敏捷开发架构设计汇编语言
数据库
Apache DorisApache HBaseCassandraClickHouseFirebirdGreenplumMongoDBMySQLPieCloudDBPostgreSQLRedisSQLSQLiteTiDBVitess数据库中间件数据库工具数据库设计
系统运维
AndroidDevOpshttpdJenkinsLinuxPrometheusTraefikZabbix存储网络与安全
云计算&大数据
Apache APISIXApache FlinkApache KarafApache KyuubiApache OzonedaprDockerHadoopHarborIstioKubernetesOpenShiftPandasrancherRocketMQServerlessService MeshVirtualBoxVMWare云原生CNCF机器学习边缘计算
综合其他
BlenderGIMPKiCadKritaWeblate产品与服务人工智能亿图数据可视化版本控制笔试面试
文库资料
前端
AngularAnt DesignBabelBootstrapChart.jsCSS3EchartsElectronHighchartsHTML/CSSHTML5JavaScriptJerryScriptJestReactSassTypeScriptVue前端工具小程序
后端
.NETApacheC/C++C#CMakeCrystalDartDenoDjangoDubboErlangFastifyFlaskGinGoGoFrameGuzzleIrisJavaJuliaLispLLVMLuaMatplotlibMicronautnimNode.jsPerlPHPPythonQtRPCRubyRustR语言ScalaShellVlangwasmYewZephirZig算法
移动端
AndroidAPP工具FlutterFramework7HarmonyHippyIoniciOSkotlinNativeObject-CPWAReactSwiftuni-appWeex
数据库
ApacheArangoDBCassandraClickHouseCouchDBCrateDBDB2DocumentDBDorisDragonflyDBEdgeDBetcdFirebirdGaussDBGraphGreenPlumHStreamDBHugeGraphimmudbIndexedDBInfluxDBIoTDBKey-ValueKitDBLevelDBM3DBMatrixOneMilvusMongoDBMySQLNavicatNebulaNewSQLNoSQLOceanBaseOpenTSDBOracleOrientDBPostgreSQLPrestoDBQuestDBRedisRocksDBSequoiaDBServerSkytableSQLSQLiteTiDBTiKVTimescaleDBYugabyteDB关系型数据库数据库数据库ORM数据库中间件数据库工具时序数据库
云计算&大数据
ActiveMQAerakiAgentAlluxioAntreaApacheApache APISIXAPISIXBFEBitBookKeeperChaosChoerodonCiliumCloudStackConsulDaprDataEaseDC/OSDockerDrillDruidElasticJobElasticSearchEnvoyErdaFlinkFluentGrafanaHadoopHarborHelmHudiInLongKafkaKnativeKongKubeCubeKubeEdgeKubeflowKubeOperatorKubernetesKubeSphereKubeVelaKumaKylinLibcloudLinkerdLonghornMeiliSearchMeshNacosNATSOKDOpenOpenEBSOpenKruiseOpenPitrixOpenSearchOpenStackOpenTracingOzonePaddlePaddlePolicyPulsarPyTorchRainbondRancherRediSearchScikit-learnServerlessShardingSphereShenYuSparkStormSupersetXuperChainZadig云原生CNCF人工智能区块链数据挖掘机器学习深度学习算法工程边缘计算
UI&美工&设计
BlenderKritaSketchUI设计
网络&系统&运维
AnsibleApacheAWKCeleryCephCI/CDCurveDevOpsGoCDHAProxyIstioJenkinsJumpServerLinuxMacNginxOpenRestyPrometheusServertraefikTrafficUnixWindowsZabbixZipkin安全防护系统内核网络运维监控
综合其它
文章资讯
 上传文档  发布文章  登录账户
IT文库
  • 综合
  • 文档
  • 文章

无数据

分类

全部后端开发(17)Rust(17)

语言

全部中文(简体)(4)英语(3)韩语(2)中文(繁体)(2)西班牙语(1)日语(1)葡萄牙语(1)中文(繁体)(1)

格式

全部PDF文档 PDF(17)
 
本次搜索耗时 0.149 秒,为您找到相关结果约 17 个.
  • 全部
  • 后端开发
  • Rust
  • 全部
  • 中文(简体)
  • 英语
  • 韩语
  • 中文(繁体)
  • 西班牙语
  • 日语
  • 葡萄牙语
  • 中文(繁体)
  • 全部
  • PDF文档 PDF
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • pdf文档 The Rust Programming Language,2nd Edition

    an example: let robot_name = Some(String::from("Bors")); match robot_name { Some(name) => println!("Found a name: {}", name), None => (), } println!("robot_name is: {:?}", robot_name); Listing 18-24: own- ership of the value This example will fail to compile since the value inside the Some value in robot_name is moved within the match when name binds to that value. Using & in a pattern matches an existing 18-25: 504 let robot_name = Some(String::from("Bors")); match robot_name { Some(ref name) => println!("Found a name: {}", name) , None => (), } println!("robot_name is: {:?}", robot_name); Listing
    0 码力 | 617 页 | 1.54 MB | 1 年前
    3
  • pdf文档 Comprehensive Rust(Ukrainian) 202412

    std::time::Duration; pub trait Pet { fn is_hungry(&self, since_last_meal: Duration) -> bool; } fn test_robot_dog() { let mut mock_dog = MockPet::new(); mock_dog.expect_is_hungry().return_const(true); assert_eq щоб імітувати кота, який зголоднів через 3 години після того, як його востаннє годували: fn test_robot_cat() { let mut mock_cat = MockPet::new(); mock_cat .expect_is_hungry() .with(mockall::predicat
    0 码力 | 396 页 | 1.08 MB | 10 月前
    3
  • pdf文档 Comprehensive Rust(Persian ) 202412

    std::time::Duration ; pub trait Pet } fn is_hungry(&self, since_last_meal: Duration) -> bool ; { fn test_robot_dog ) ( } let mut mock_dog = MockPet::new ) ( ; mock_dog.expect_is_hungry().return_const(true ( � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � : fn test_robot_cat ) ( } let mut mock_cat = MockPet::new ) ( ; mock_cat . expect_is_hungry ) ( . with(mockal
    0 码力 | 393 页 | 987.97 KB | 10 月前
    3
  • pdf文档 Comprehensive Rust(English) 202412

    std::time::Duration; pub trait Pet { fn is_hungry(&self, since_last_meal: Duration) -> bool; } fn test_robot_dog() { let mut mock_dog = MockPet::new(); mock_dog.expect_is_hungry().return_const(true); assert_eq Here we use this to mock a cat which becomes hungry 3 hours after the last time it was fed: fn test_robot_cat() { let mut mock_cat = MockPet::new(); mock_cat .expect_is_hungry() .with(mockall::predicat
    0 码力 | 382 页 | 1.00 MB | 10 月前
    3
  • pdf文档 Comprehensive Rust ?

    std::time::Duration; pub trait Pet { fn is_hungry(&self, since_last_meal: Duration) -> bool; } fn test_robot_dog() { let mut mock_dog = MockPet::new(); mock_dog.expect_is_hungry().return_const(true); assert_eq Here we use this to mock a cat which becomes hungry 3 hours after the last time it was fed: fn test_robot_cat() { let mut mock_cat = MockPet::new(); mock_cat .expect_is_hungry() .with(mockall::predicat
    0 码力 | 378 页 | 1009.46 KB | 1 年前
    3
  • pdf文档 Comprehensive Rust(简体中文) 202412

    std::time::Duration; pub trait Pet { fn is_hungry(&self, since_last_meal: Duration) -> bool; } fn test_robot_dog() { let mut mock_dog = MockPet::new(); mock_dog.expect_is_hungry().return_const(true); assert_eq Cargo 项目中。 • Mockall 具有更多功能。具体而言,您可以设置基于传递参数的预期值。在这里,我们使用该功能来 模拟一只猫,它在上次被喂食的 3 小时后会感到饥饿: fn test_robot_cat() { let mut mock_cat = MockPet::new(); mock_cat .expect_is_hungry() .with(mockall::predicat
    0 码力 | 359 页 | 1.33 MB | 10 月前
    3
  • pdf文档 Comprehensive Rust(Español) 202412

    std::time::Duration; pub trait Pet { fn is_hungry(&self, since_last_meal: Duration) -> bool; } fn test_robot_dog() { let mut mock_dog = MockPet::new(); mock_dog.expect_is_hungry().return_const(true); assert_eq ejemplo para simular un gato que tiene hambre 3 horas después de que le hayan dado de comer: fn test_robot_cat() { let mut mock_cat = MockPet::new(); mock_cat .expect_is_hungry() .with(mockall::predicat
    0 码力 | 389 页 | 1.04 MB | 10 月前
    3
  • pdf文档 Comprehensive Rust(繁体中文)

    std::time::Duration; pub trait Pet { fn is_hungry(&self, since_last_meal: Duration) -> bool; } fn test_robot_dog() { let mut mock_dog = MockPet::new(); mock_dog.expect_is_hungry().return_const(true); assert_eq Here we use this to mock a cat which becomes hungry 3 hours after the last time it was fed: fn test_robot_cat() { let mut mock_cat = MockPet::new(); mock_cat .expect_is_hungry() .with(mockall::predicat
    0 码力 | 358 页 | 1.41 MB | 10 月前
    3
  • pdf文档 Comprehensive Rust(Português do Brasil) 202412

    std::time::Duration; pub trait Pet { fn is_hungry(&self, since_last_meal: Duration) -> bool; } fn test_robot_dog() { let mut mock_dog = MockPet::new(); mock_dog.expect_is_hungry().return_const(true); assert_eq Aqui usamos isso para ”mockar” um gato que fica com fome 3 horas após a última vez que foi fn test_robot_cat() { let mut mock_cat = MockPet::new(); mock_cat .expect_is_hungry() .with(mockall::predicat
    0 码力 | 389 页 | 1.05 MB | 10 月前
    3
  • pdf文档 Comprehensive Rust(繁体中文) 202406

    std::time::Duration; pub trait Pet { fn is_hungry(&self, since_last_meal: Duration) -> bool; } fn test_robot_dog() { let mut mock_dog = MockPet::new(); mock_dog.expect_is_hungry().return_const(true); assert_eq Here we use this to mock a cat which becomes hungry 3 hours after the last time it was fed: fn test_robot_cat() { let mut mock_cat = MockPet::new(); mock_cat .expect_is_hungry() .with(mockall::predicat
    0 码力 | 356 页 | 1.41 MB | 1 年前
    3
共 17 条
  • 1
  • 2
前往
页
相关搜索词
TheRustProgrammingLanguage2ndEditionComprehensiveUkrainian202412PersianEnglish简体中文简体中文Espaol繁体繁体中文PortugudoBrasil
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩