fidl_data_zither_aliases/
aliases.rs#![allow(unused_imports)]
use zerocopy::{FromBytes, IntoBytes};
pub type BoolAlias = bool;
pub type Int8Alias = i8;
pub type Int16Alias = i16;
pub type Int32Alias = i32;
pub type Int64Alias = i64;
pub type Uint8Alias = u8;
pub type Uint16Alias = u16;
pub type Uint32Alias = u32;
pub type Uint64Alias = u64;
pub const CONST_FROM_ALIAS: u8 = 0xff;
#[repr(i16)]
#[derive(Clone, Copy, Debug, Eq, IntoBytes, PartialEq)]
pub enum Enum {
Member = 0,
}
pub type EnumAlias = Enum;
#[repr(u16)]
#[derive(Clone, Copy, Debug, Eq, IntoBytes, PartialEq)]
pub enum Bits {
One = 1,
}
pub type BitsAlias = Bits;
#[repr(C)]
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub struct Struct {
pub x: u64,
pub y: u64,
pub e: EnumAlias,
}
pub type StructAlias = Struct;
pub type ArrayAlias = [u32; 4];
pub type NestedArrayAlias = [[Struct; 8]; 4];
pub type AliasWithOneLineComment = bool;
pub type AliasWithManyLineComment = u8;