mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-06-18 06:00:35 +00:00
Add Display impl for StructureRef too
This commit is contained in:
parent
f346d57b4f
commit
ce9b98f338
|
@ -506,6 +506,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 {
|
impl fmt::Debug for StructureRef {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||||
f.write_str(&StructureRef::to_string(self))
|
f.write_str(&StructureRef::to_string(self))
|
||||||
|
|
Loading…
Reference in a new issue