We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cce29be + 75a5046 commit 0fa9033Copy full SHA for 0fa9033
1 file changed
libs/binder/rust/src/binder.rs
@@ -1160,6 +1160,12 @@ macro_rules! declare_binder_enum {
1160
pub const fn enum_values() -> [Self; $size] {
1161
[$(Self::$name),*]
1162
}
1163
+
1164
+ #[inline(always)]
1165
+ #[allow(missing_docs)]
1166
+ pub const fn get(&self) -> $backing {
1167
+ self.0
1168
+ }
1169
1170
1171
impl std::fmt::Debug for $enum {
0 commit comments