diff --git a/bindgen.sh b/bindgen.sh index 55f009e..68dd28b 100755 --- a/bindgen.sh +++ b/bindgen.sh @@ -11,8 +11,8 @@ gen() { --with-derive-hash \ --with-derive-partialeq \ --with-derive-eq \ - --with-attribute-custom-enum '.*=#[cfg_attr(feature = "num_enum", derive(num_enum::IntoPrimitive,num_enum::TryFromPrimitive,num_enum::UnsafeFromPrimitive))]' \ - --with-attribute-custom-struct '.*=#[cfg_attr(feature = "zerocopy", derive(zerocopy_derive::FromZeroes,zerocopy_derive::FromBytes,zerocopy_derive::AsBytes))]' \ + --with-attribute-custom-enum '.*=#[cfg_attr(feature = "num_enum", derive(num_enum::IntoPrimitive,num_enum::TryFromPrimitive,num_enum::UnsafeFromPrimitive,))]' \ + --with-attribute-custom-struct '.*=#[cfg_attr(feature = "zerocopy", derive(zerocopy_derive::FromZeroes,zerocopy_derive::FromBytes,zerocopy_derive::AsBytes,))]' \ "$@" } diff --git a/src/linux.rs b/src/linux.rs index 91f430f..d76ce4d 100644 --- a/src/linux.rs +++ b/src/linux.rs @@ -147,7 +147,7 @@ pub const FUSE_SETUPMAPPING_FLAG_READ: u32 = 2; derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_attr { @@ -199,7 +199,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_sx_time { @@ -225,7 +225,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_statx { @@ -292,7 +292,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_kstatfs { @@ -338,7 +338,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_file_lock { @@ -369,7 +369,7 @@ const _: () = { derive( num_enum::IntoPrimitive, num_enum::TryFromPrimitive, - num_enum::UnsafeFromPrimitive + num_enum::UnsafeFromPrimitive, ) )] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -384,7 +384,7 @@ pub enum fuse_ext_type { derive( num_enum::IntoPrimitive, num_enum::TryFromPrimitive, - num_enum::UnsafeFromPrimitive + num_enum::UnsafeFromPrimitive, ) )] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -450,7 +450,7 @@ pub enum fuse_opcode { derive( num_enum::IntoPrimitive, num_enum::TryFromPrimitive, - num_enum::UnsafeFromPrimitive + num_enum::UnsafeFromPrimitive, ) )] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -471,7 +471,7 @@ pub enum fuse_notify_code { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_entry_out { @@ -509,7 +509,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_forget_in { @@ -529,7 +529,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_forget_one { @@ -552,7 +552,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_batch_forget_in { @@ -575,7 +575,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_getattr_in { @@ -600,7 +600,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_attr_out { @@ -629,7 +629,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_statx_in { @@ -660,7 +660,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_statx_out { @@ -692,7 +692,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_mknod_in { @@ -719,7 +719,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_mkdir_in { @@ -741,7 +741,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_rename_in { @@ -761,7 +761,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_rename2_in { @@ -787,7 +787,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_link_in { @@ -807,7 +807,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_setattr_in { @@ -871,7 +871,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_open_in { @@ -893,7 +893,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_create_in { @@ -922,7 +922,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_open_out { @@ -947,7 +947,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_release_in { @@ -975,7 +975,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_flush_in { @@ -1003,7 +1003,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_read_in { @@ -1039,7 +1039,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_write_in { @@ -1076,7 +1076,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_write_out { @@ -1099,7 +1099,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_statfs_out { @@ -1118,7 +1118,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_fsync_in { @@ -1143,7 +1143,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_setxattr_in { @@ -1172,7 +1172,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_getxattr_in { @@ -1195,7 +1195,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_getxattr_out { @@ -1218,7 +1218,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_lk_in { @@ -1247,7 +1247,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_lk_out { @@ -1266,7 +1266,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_access_in { @@ -1289,7 +1289,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_init_in { @@ -1322,7 +1322,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_init_out { @@ -1378,7 +1378,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct cuse_init_in { @@ -1405,7 +1405,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct cuse_init_out { @@ -1449,7 +1449,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_interrupt_in { @@ -1469,7 +1469,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_bmap_in { @@ -1494,7 +1494,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_bmap_out { @@ -1514,7 +1514,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_ioctl_in { @@ -1546,7 +1546,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_ioctl_iovec { @@ -1569,7 +1569,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_ioctl_out { @@ -1598,7 +1598,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_poll_in { @@ -1625,7 +1625,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_poll_out { @@ -1648,7 +1648,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_notify_poll_wakeup_out { @@ -1670,7 +1670,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_fallocate_in { @@ -1702,7 +1702,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_in_header { @@ -1745,7 +1745,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_out_header { @@ -1771,7 +1771,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_dirent { @@ -1799,7 +1799,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_direntplus { @@ -1822,7 +1822,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_notify_inval_inode_out { @@ -1850,7 +1850,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_notify_inval_entry_out { @@ -1878,7 +1878,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_notify_delete_out { @@ -1908,7 +1908,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_notify_store_out { @@ -1938,7 +1938,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_notify_retrieve_out { @@ -1972,7 +1972,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_notify_retrieve_in { @@ -2009,7 +2009,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_backing_map { @@ -2035,7 +2035,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_lseek_in { @@ -2063,7 +2063,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_lseek_out { @@ -2083,7 +2083,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_copy_file_range_in { @@ -2123,7 +2123,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_setupmapping_in { @@ -2155,7 +2155,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_removemapping_in { @@ -2176,7 +2176,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_removemapping_one { @@ -2200,7 +2200,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_syncfs_in { @@ -2220,7 +2220,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_secctx { @@ -2242,7 +2242,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_secctx_header { @@ -2271,7 +2271,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_ext_header { @@ -2297,7 +2297,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_supp_groups { diff --git a/src/macos.rs b/src/macos.rs index ec9b9ac..74e70cb 100644 --- a/src/macos.rs +++ b/src/macos.rs @@ -107,7 +107,7 @@ pub const CUSE_INIT_INFO_MAX: u32 = 4096; derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_attr { @@ -166,7 +166,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_kstatfs { @@ -212,7 +212,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_file_lock { @@ -240,7 +240,7 @@ const _: () = { derive( num_enum::IntoPrimitive, num_enum::TryFromPrimitive, - num_enum::UnsafeFromPrimitive + num_enum::UnsafeFromPrimitive, ) )] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -298,7 +298,7 @@ pub enum fuse_opcode { derive( num_enum::IntoPrimitive, num_enum::TryFromPrimitive, - num_enum::UnsafeFromPrimitive + num_enum::UnsafeFromPrimitive, ) )] #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] @@ -318,7 +318,7 @@ pub enum fuse_notify_code { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_entry_out { @@ -356,7 +356,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_forget_in { @@ -376,7 +376,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_forget_one { @@ -399,7 +399,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_batch_forget_in { @@ -422,7 +422,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_getattr_in { @@ -447,7 +447,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_attr_out { @@ -476,7 +476,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_getxtimes_out { @@ -505,7 +505,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_mknod_in { @@ -532,7 +532,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_mkdir_in { @@ -554,7 +554,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_rename_in { @@ -580,7 +580,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_exchange_in { @@ -606,7 +606,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_link_in { @@ -626,7 +626,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_setattr_in { @@ -711,7 +711,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_open_in { @@ -733,7 +733,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_create_in { @@ -762,7 +762,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_open_out { @@ -787,7 +787,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_release_in { @@ -815,7 +815,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_flush_in { @@ -843,7 +843,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_read_in { @@ -879,7 +879,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_write_in { @@ -916,7 +916,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_write_out { @@ -939,7 +939,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_statfs_out { @@ -958,7 +958,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_fsync_in { @@ -983,7 +983,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_setxattr_in { @@ -1012,7 +1012,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_getxattr_in { @@ -1041,7 +1041,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_getxattr_out { @@ -1064,7 +1064,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_lk_in { @@ -1093,7 +1093,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_lk_out { @@ -1112,7 +1112,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_access_in { @@ -1135,7 +1135,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_init_in { @@ -1162,7 +1162,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_init_out { @@ -1200,7 +1200,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct cuse_init_in { @@ -1227,7 +1227,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct cuse_init_out { @@ -1271,7 +1271,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_interrupt_in { @@ -1291,7 +1291,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_bmap_in { @@ -1316,7 +1316,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_bmap_out { @@ -1336,7 +1336,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_ioctl_in { @@ -1368,7 +1368,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_ioctl_iovec { @@ -1391,7 +1391,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_ioctl_out { @@ -1420,7 +1420,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_poll_in { @@ -1447,7 +1447,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_poll_out { @@ -1470,7 +1470,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_notify_poll_wakeup_out { @@ -1492,7 +1492,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_fallocate_in { @@ -1524,7 +1524,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_in_header { @@ -1564,7 +1564,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_out_header { @@ -1590,7 +1590,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_dirent { @@ -1618,7 +1618,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_notify_inval_inode_out { @@ -1646,7 +1646,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_notify_inval_entry_out { @@ -1674,7 +1674,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_notify_delete_out { @@ -1704,7 +1704,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_notify_store_out { @@ -1734,7 +1734,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_notify_retrieve_out { @@ -1768,7 +1768,7 @@ const _: () = { derive( zerocopy_derive::FromZeroes, zerocopy_derive::FromBytes, - zerocopy_derive::AsBytes + zerocopy_derive::AsBytes, ) )] pub struct fuse_notify_retrieve_in {