mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-20 22:18:11 +00:00
Add Display impl for StructureRef too
This commit is contained in:
parent
7c01e1e46f
commit
9427e75fa4
1 changed files with 6 additions and 0 deletions
|
@ -485,6 +485,12 @@ impl StructureRef {
|
|||
}
|
||||
}
|
||||
|
||||
impl fmt::Display for StructureRef {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
f.write_str(&StructureRef::to_string(self))
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Debug for StructureRef {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
f.write_str(&StructureRef::to_string(self))
|
||||
|
|
Loading…
Reference in a new issue