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:
Sebastian Dröge 2025-07-12 17:01:14 +03:00
parent e54178dbd7
commit 081b5760ba

View file

@ -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);
}