forked from mirrors/gstreamer-rs
video: VideoChromaSite now has an autogenerated impl Display
Still calls into the manual `fn to_str()`.
This commit is contained in:
parent
8226c94110
commit
a828d3cc12
1 changed files with 0 additions and 6 deletions
|
@ -220,12 +220,6 @@ impl str::FromStr for crate::VideoChromaSite {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl fmt::Display for crate::VideoChromaSite {
|
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
|
||||||
f.write_str(&self.to_str())
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl From<crate::VideoMultiviewFramePacking> for crate::VideoMultiviewMode {
|
impl From<crate::VideoMultiviewFramePacking> for crate::VideoMultiviewMode {
|
||||||
fn from(v: crate::VideoMultiviewFramePacking) -> Self {
|
fn from(v: crate::VideoMultiviewFramePacking) -> Self {
|
||||||
skip_assert_initialized!();
|
skip_assert_initialized!();
|
||||||
|
|
Loading…
Reference in a new issue