MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / as_emulator_value

Method as_emulator_value

packages/server/src/main.rs:1036–1046  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1034
1035impl 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
1049fn parse_video_codec_mode(value: &str) -> Option<VideoCodecMode> {

Calls

no outgoing calls