mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-09-01 09:23:50 +00:00
videobufferpool: Move doc aliases from impl to trait definition
Otherwise they don't show up in the docs. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1751>
This commit is contained in:
parent
e54178dbd7
commit
081b5760ba
1 changed files with 2 additions and 0 deletions
|
@ -137,8 +137,10 @@ impl<'a> ToGlibPtr<'a, *const ffi::GstVideoAlignment> for VideoAlignment {
|
|||
|
||||
pub trait VideoBufferPoolConfig {
|
||||
#[doc(alias = "get_video_alignment")]
|
||||
#[doc(alias = "gst_buffer_pool_config_get_video_alignment")]
|
||||
fn video_alignment(&self) -> Option<VideoAlignment>;
|
||||
|
||||
#[doc(alias = "gst_buffer_pool_config_set_video_alignment")]
|
||||
fn set_video_alignment(&mut self, align: &VideoAlignment);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue