mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-23 00:26:31 +00:00
Work around rustdoc bug with impls on type aliases
https://github.com/rust-lang/rust/issues/44182
This commit is contained in:
parent
52c013b834
commit
dae1a51764
3 changed files with 3 additions and 3 deletions
|
@ -133,7 +133,7 @@ impl EventRef {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Event {
|
impl GstRc<EventRef> {
|
||||||
pub fn new_flush_start() -> FlushStartBuilder {
|
pub fn new_flush_start() -> FlushStartBuilder {
|
||||||
assert_initialized_main_thread!();
|
assert_initialized_main_thread!();
|
||||||
FlushStartBuilder::new()
|
FlushStartBuilder::new()
|
||||||
|
|
|
@ -127,7 +127,7 @@ impl MessageRef {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Message {
|
impl GstRc<MessageRef> {
|
||||||
pub fn new_eos() -> EosBuilder {
|
pub fn new_eos() -> EosBuilder {
|
||||||
assert_initialized_main_thread!();
|
assert_initialized_main_thread!();
|
||||||
EosBuilder::new()
|
EosBuilder::new()
|
||||||
|
|
|
@ -27,7 +27,7 @@ unsafe impl MiniObject for QueryRef {
|
||||||
type GstType = ffi::GstQuery;
|
type GstType = ffi::GstQuery;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Query {
|
impl GstRc<QueryRef> {
|
||||||
pub fn new_position(fmt: ::Format) -> Self {
|
pub fn new_position(fmt: ::Format) -> Self {
|
||||||
assert_initialized_main_thread!();
|
assert_initialized_main_thread!();
|
||||||
unsafe { from_glib_full(ffi::gst_query_new_position(fmt.to_glib())) }
|
unsafe { from_glib_full(ffi::gst_query_new_position(fmt.to_glib())) }
|
||||||
|
|
Loading…
Reference in a new issue