(&self)
| 23 | |
| 24 | impl CameraSourceKind { |
| 25 | fn as_native_arg(&self) -> &'static str { |
| 26 | match self { |
| 27 | Self::Placeholder => "placeholder", |
| 28 | Self::Image => "image", |
| 29 | Self::Video => "video", |
| 30 | Self::Webcam => "webcam", |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | #[derive(Clone, Debug, Deserialize, Serialize)] |
no outgoing calls
no test coverage detected