Home
last modified time | relevance | path

Searched refs:newtype_enum (Results 1 – 24 of 24) sorted by relevance

/external/rust/android-crates-io/crates/uefi-raw/src/protocol/device_path/
Ddevice_path_gen.rs74newtype_enum! { # [doc = " Baseboard Management Controller (BMC) host interface type."] pub enum B…
363newtype_enum! { # [doc = " Whether the ATAPI device is primary or secondary."] pub enum PrimarySec…
367newtype_enum! { # [doc = " Whether the ATAPI device is master or slave."] pub enum MasterSlave : u…
371newtype_enum! { # [doc = " Origin of the source IP address."] pub enum Ipv4AddressOrigin : u8 => {…
375newtype_enum! { # [doc = " Origin of the local IP address."] pub enum Ipv6AddressOrigin : u8 => { …
383newtype_enum! { # [doc = " UART parity setting."] pub enum Parity : u8 => { # [doc = " Default par…
387newtype_enum! { # [doc = " UART number of stop bits."] pub enum StopBits : u8 => { # [doc = " Defa…
391newtype_enum! { # [doc = " iSCSI network protocol."] pub enum IscsiProtocol : u16 => { # [doc = " …
399newtype_enum! { # [doc = " BluetoothLE address type."] pub enum BluetoothLeAddressType : u8 => { #…
403newtype_enum! { # [doc = " Whether the address is IPv4 or IPv6."] pub enum DnsAddressType : u8 => …
[all …]
/external/rust/android-crates-io/crates/uefi/src/proto/media/
Dpartition.rs6 newtype_enum! {
52 newtype_enum! {
195 newtype_enum! {
214 newtype_enum! {
/external/rust/android-crates-io/crates/darling/tests/
Dsupports.rs29 pub fn newtype_enum() -> DeriveInput { in newtype_enum() function
71 let container = Container::from_derive_input(&source::newtype_enum()).unwrap(); in enum_newtype_or_unit()
88 StructContainer::from_derive_input(&source::newtype_enum()).unwrap_err(); in struct_named()
/external/rust/android-crates-io/crates/uefi/src/proto/tcg/
Denums.rs11 newtype_enum! {
38 newtype_enum! {
/external/rust/android-crates-io/crates/uefi-raw/src/protocol/network/
Dhttp.rs14 newtype_enum! {
76 newtype_enum! {
117 newtype_enum! {
Dip4_config2.rs5 newtype_enum! {
29 newtype_enum! {
Ddhcp4.rs4 newtype_enum! {
21 newtype_enum! {
Dtls.rs4 newtype_enum! {
/external/rust/android-crates-io/crates/uefi-raw/src/protocol/console/
Dserial.rs105 newtype_enum! {
123 newtype_enum! {
/external/rust/android-crates-io/crates/uefi-raw/src/table/
Druntime.rs82 newtype_enum! {
160 newtype_enum! {
Dboot.rs269 newtype_enum! {
381 newtype_enum! {
457 newtype_enum! {
/external/rust/android-crates-io/crates/uefi-raw/src/protocol/
Drng.rs5 newtype_enum! {
Dconsole.rs231 newtype_enum! {
251 newtype_enum! {
Ddevice_path.rs27 newtype_enum! {
Dfile_system.rs18 newtype_enum! {
/external/rust/android-crates-io/crates/uefi-raw/src/
Denums.rs44 macro_rules! newtype_enum { macro
Dstatus.rs3 newtype_enum! {
/external/rust/android-crates-io/crates/uefi/src/proto/console/text/
Dinput.rs109 newtype_enum! {
/external/rust/android-crates-io/crates/uefi/src/proto/debug/
Dmod.rs149 newtype_enum! {
/external/rust/android-crates-io/crates/bindgen-cli/
Doptions.rs110 newtype_enum: Vec<String>, field
460 newtype_enum, in builder_from_flags()
614 for regex in newtype_enum { in builder_from_flags()
615 builder = builder.newtype_enum(regex); in builder_from_flags()
/external/rust/android-crates-io/crates/uefi/src/proto/device_path/
Ddevice_path_gen.rs357newtype_enum! { # [doc = " Baseboard Management Controller (BMC) host interface type."] pub enum B…
2387newtype_enum! { # [doc = " Whether the ATAPI device is primary or secondary."] pub enum PrimarySec…
2391newtype_enum! { # [doc = " Whether the ATAPI device is master or slave."] pub enum MasterSlave : u…
2395newtype_enum! { # [doc = " Origin of the source IP address."] pub enum Ipv4AddressOrigin : u8 => {…
2399newtype_enum! { # [doc = " Origin of the local IP address."] pub enum Ipv6AddressOrigin : u8 => { …
2407newtype_enum! { # [doc = " UART parity setting."] pub enum Parity : u8 => { # [doc = " Default par…
2411newtype_enum! { # [doc = " UART number of stop bits."] pub enum StopBits : u8 => { # [doc = " Defa…
2426newtype_enum! { # [doc = " iSCSI network protocol."] pub enum IscsiProtocol : u16 => { # [doc = " …
2434newtype_enum! { # [doc = " BluetoothLE address type."] pub enum BluetoothLeAddressType : u8 => { #…
2438newtype_enum! { # [doc = " Whether the address is IPv4 or IPv6."] pub enum DnsAddressType : u8 => …
[all …]
/external/rust/android-crates-io/crates/uefi-raw/
Dapi_guidelines.md97 Rust `enum`s are not allowed; use the `bitflags!` or `newtype_enum!` macros
/external/rust/android-crates-io/crates/uefi/src/proto/network/
Dsnp.rs584 newtype_enum! {
/external/rust/android-crates-io/crates/bindgen/options/
Dmod.rs433 pub fn newtype_enum<T: AsRef<str>>(mut self, arg: T) -> Builder {