MCPcopy Create free account
hub / github.com/Botloader/botloader / from

Method from

components/runtime-models/src/discord/channel.rs:16–22  ·  view source on GitHub ↗
(v: twilight_model::channel::VideoQualityMode)

Source from the content-addressed store, hash-verified

14
15impl From<twilight_model::channel::VideoQualityMode> for VideoQualityMode {
16 fn from(v: twilight_model::channel::VideoQualityMode) -> Self {
17 match v {
18 twilight_model::channel::VideoQualityMode::Auto => Self::Auto,
19 twilight_model::channel::VideoQualityMode::Full => Self::Full,
20 _ => todo!(),
21 }
22 }
23}
24
25impl From<VideoQualityMode> for twilight_model::channel::VideoQualityMode {

Callers

nothing calls this directly

Calls 1

NotBigU64Class · 0.85

Tested by

no test coverage detected