Searched refs:traits (Results 1 – 20 of 20) sorted by relevance
/DragonOS/kernel/crates/system_error/ |
H A D | Cargo.toml | 9 num-traits = { git = "https://git.mirrors.dragonos.org.cn/DragonOS-Community/num-traits.git", rev="…
|
/DragonOS/kernel/crates/intertrait/ |
H A D | README.md | 17 for another trait implemented by the underlying type if the target traits are registered beforehand 62 Target traits must be explicitly designated beforehand. There are three ways of doing it: 82 For the type, the traits specified as arguments to the `#[cast_to(...)]` attribute are designated a… 101 For the type, the traits following `:` are designated as target traits. 125 * Mark source traits with [`CastFromSync`] instead of [`CastFrom`]
|
/DragonOS/docs/kernel/core_api/ |
H A D | casting.md | 5 - 数值类型转换 (使用`num-traits`库) 15   您可以使用`num-traits`库提供的宏,实现枚举类型和整数类型之间的转换。
|
/DragonOS/kernel/crates/bitmap/src/ |
H A D | lib.rs | 14 pub mod traits; module
|
H A D | static_bitmap.rs | 3 use crate::{bitmap_core::BitMapCore, traits::BitMapOps};
|
H A D | alloc_bitmap.rs | 5 use crate::{bitmap_core::BitMapCore, traits::BitMapOps};
|
H A D | bitmap_core.rs | 3 use crate::traits::BitOps;
|
/DragonOS/kernel/src/smp/ |
H A D | syscall.rs | 1 use bitmap::traits::BitMapOps;
|
/DragonOS/kernel/src/driver/scsi/ |
H A D | mod.rs | 1 use bitmap::traits::BitMapOps;
|
/DragonOS/kernel/ |
H A D | Cargo.toml | 54 num-traits = { git = "https://git.mirrors.dragonos.org.cn/DragonOS-Community/num-traits.git", rev="…
|
/DragonOS/docs/kernel/libs/lib_ui/ |
H A D | scm.md | 8 ## traits section in 屏幕管理器(SCM)
|
/DragonOS/kernel/src/driver/clocksource/ |
H A D | timer_riscv.rs | 4 use bitmap::{traits::BitMapOps, StaticBitmap};
|
/DragonOS/kernel/src/libs/ |
H A D | cpumask.rs | 3 use bitmap::{traits::BitMapOps, AllocBitmap};
|
/DragonOS/kernel/src/mm/ |
H A D | no_init.rs | 11 use bitmap::{traits::BitMapOps, StaticBitmap};
|
/DragonOS/kernel/src/driver/block/ |
H A D | virtio_blk.rs | 9 use bitmap::traits::BitMapOps;
|
/DragonOS/kernel/crates/bitmap/tests/ |
H A D | static-bitmap.rs | 3 use bitmap::{traits::BitMapOps, StaticBitmap};
|
H A D | alloc-bitmap.rs | 3 use bitmap::{traits::BitMapOps, AllocBitmap};
|
/DragonOS/kernel/src/driver/tty/virtual_terminal/ |
H A D | virtual_console.rs | 7 use bitmap::{traits::BitMapOps, StaticBitmap};
|
/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | ntty.rs | 4 use bitmap::{traits::BitMapOps, StaticBitmap};
|
/DragonOS/kernel/crates/rbpf/ |
H A D | README.md | 691 * Implement some traits (`Clone`, `Drop`, `Debug` are good candidates).
|