mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-25 18:33:24 +00:00
License rust and c source files
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
5fb8a9f7e5
commit
faaa4438d6
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//! define macro assert_type_same
|
||||
|
||||
use crate::same::SameAs;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//! Type level bools
|
||||
|
||||
pub use core::ops::BitAnd as And;
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
use crate::{Cons, Nil};
|
||||
|
||||
/// This trait will extend a set with another item.
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//! Type Level If
|
||||
|
||||
use crate::bool::{False, True};
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//! The content of this crate is from another project CapComp.
|
||||
//! This crate defines common type level operations, like SameAsOp, and Bool type operations.
|
||||
//! Besides, this crate defines operations to deal with type sets, like SetContain and SetInclude.
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//! Traits used to check if two types are the same, returning a Bool.
|
||||
//! This check happens at compile time
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//! Common types and traits to deal with type-level sets
|
||||
|
||||
use core::marker::PhantomData;
|
||||
|
Reference in New Issue
Block a user