UniversalConvertableFlag

Trait UniversalConvertableFlag 

Source
pub trait UniversalConvertableFlag {
    // Required methods
    fn from_universal(flag: UniversalPTEFlag) -> Self;
    fn to_universal(&self) -> UniversalPTEFlag;
}
Expand description

允许将特定架构的标志与通用标志集相互转换的 trait

Required Methods§

Source

fn from_universal(flag: UniversalPTEFlag) -> Self

从通用标志集创建特定架构的标志

Source

fn to_universal(&self) -> UniversalPTEFlag

将特定架构的标志转换为通用标志集

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§