开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
rust

rust

go

如何重新表达此代码以避免 clippy::manual_let_else。

英文: how to rephrase this code to get past clippy::manual_let_else 问题 以下是您要翻译的内容: 升级了 msrv 后,我得到了这个错误...
huangapple 2023年5月11日117评论rust rust-clippy
go

从gtk-rs的CompositeTemplate中获取父组件

英文: Get Parent From gtk-rs CompositeTemplate 问题 在impl GnoteTreeView部分,您可以使用以下代码来获取gtk::TreeView的引用: ...
huangapple 2023年5月11日131评论gtk4 rust
go

在 trait 的函数中,是否需要 &self 参数?

英文: Is &self parameter necessary in the function of trait? 问题 以下是您提供的代码的翻译: 在这个例子中,make_sound() ...
huangapple 2023年5月11日122评论rust traits
go

Upcasting an `Arc` to an `Arc`?

英文: Upcasting an `Arc<dyn Trait>` to an `Arc<dyn Any>`? 问题 假设我有一个类型为 `Asset` 的特性对象,它存储在一...
huangapple 2023年5月11日121评论casting rust
go

Rust尝试将外部crate导入到不在根目录中的模块时出现“unresolved import”。

英文: Rust `unresolved import` when trying to import an external crate into a module not in the root d...
huangapple 2023年5月11日139评论enums rust
go

如何将私有方法添加到 pyo3 pymethods?

英文: How to add private methods to pyo3 pymethods? 问题 #[pyclass] pub struct SomeItem; #[pymethods] im...
huangapple 2023年5月11日140评论python rust
go

将 “Add logs to cargo bench” 翻译为中文:向 cargo bench 添加日志。

英文: Add logs to cargo bench 问题 I'm using the criterion library to benchmark some code and am in need...
huangapple 2023年5月11日143评论rust testing
go

错误:在构建 Rust 时出现 libp2p-0.53.1 错误。

英文: Error while building rust with libp2p-0.53.1 问题 I am trying to upgrade a project, that has vendo...
huangapple 2023年5月11日129评论build rust
go

如何在Rust中使用宏生成常量数组?

英文: how to generate const array by macro in Rust? 问题 你想通过宏生成这个常量数组: const EXPS: [i64; 9] = [1, 10_i6...
huangapple 2023年5月10日131评论rust rust-macros
go

将Rust中的枚举类型转换为字符串,不使用std或fmt。

英文: rust wasm convert enum type to string without std or fmt 问题 Is there a stable way to convert rus...
huangapple 2023年5月10日128评论rust rust-wasm
72

文章导航

1 … 37 38 39 40 41 42 43 44 45 … 72
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17061881

热门标签

c# typescript css go json html spring arrays javascript flutter python android reactjs c++ sql r pandas java spring-boot node.js

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码