mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-23 02:26:35 +00:00
tutorial/1: Fix unclosed ```rust block
Fixes: 4829e31
("tutorial: Update for subclassing API changes")
This commit is contained in:
parent
817a4710f3
commit
d36218fe35
1 changed files with 1 additions and 0 deletions
|
@ -185,6 +185,7 @@ impl ObjectSubclass for Rgb2Gray {
|
|||
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
This defines a struct `Rgb2Gray` which is empty for now and an empty implementation of the struct which will later be used. The `ObjectSubclass` trait is implemented on the struct `Rgb2Gray` for providing static information about the type to the type system. By implementing `ObjectSubclass` we allow registering our struct with the GObject object system.
|
||||
|
||||
|
|
Loading…
Reference in a new issue