(self)
| 1034 | |
| 1035 | impl AndroidGpuMode { |
| 1036 | fn as_emulator_value(self) -> &'static str { |
| 1037 | match self { |
| 1038 | Self::Auto => "auto", |
| 1039 | Self::Host => "host", |
| 1040 | Self::Software => "software", |
| 1041 | Self::Lavapipe => "lavapipe", |
| 1042 | Self::Swiftshader => "swiftshader", |
| 1043 | Self::Swangle => "swangle", |
| 1044 | Self::SwiftshaderIndirect => "swiftshader_indirect", |
| 1045 | } |
| 1046 | } |
| 1047 | } |
| 1048 | |
| 1049 | fn parse_video_codec_mode(value: &str) -> Option<VideoCodecMode> { |
no outgoing calls