gstreamer-rs/gstreamer/src
François Laignel cd56d60352 Bus::get_pollfd generate doc for both unix & windows
There are different implementations and signatures for `get_pollfd` depending
on whether the target platform is unix or windows. When generating the doc,
we need both implementations to appear regardless of the target platform. This
commit is inspired by the way Rust `std` library deals with `process::Command`
OS dependent variants
(https://doc.rust-lang.org/std/process/struct.Command.html#impl-CommandExt).

Documentation can't be accurate though as we can't use the`std::os::windows`
on `unix` and vice versa. As a workaround a fake fd class matching the other
platform is declared.

This could be further enhanced once `#[doc(cfg(...))]` is stabilized
(https://github.com/rust-lang/rust/issues/43781) by declaring `#[doc(cfg(unix))]`
or `#[doc(cfg(windows))]` instead of the hard coded comments `This is supported
on **Windows/Unix** only`. Unfortunately, these comments disappear when
generating will `--all-features` because they are not part of the documentation
in the gir file.
2018-03-19 13:48:59 +02:00
..
auto Add Promise bindings 2018-03-19 10:32:07 +02:00
bin.rs Add tests for Bin::get_children() and Element::get_*pads() 2017-10-26 13:29:37 +02:00
buffer.rs Add back callback guards 2018-03-02 21:34:29 +02:00
buffer_pool.rs Add initial BufferPool bindings 2018-03-07 11:08:21 +02:00
bufferlist.rs Various manual 1.14 API additions and remove deprecated functions 2018-03-19 10:32:07 +02:00
bus.rs Bus::get_pollfd generate doc for both unix & windows 2018-03-19 13:48:59 +02:00
bus_unix.rs Bus::get_pollfd generate doc for both unix & windows 2018-03-19 13:48:59 +02:00
bus_windows.rs Bus::get_pollfd generate doc for both unix & windows 2018-03-19 13:48:59 +02:00
caps.rs Run everything through latest rustfmt-nightly 2018-02-22 11:18:37 +01:00
child_proxy.rs Let ChildProxy::set_child_property() take a &ToValue instead of an actual Value 2017-12-16 15:24:18 +02:00
clock.rs Add back callback guards 2018-03-02 21:34:29 +02:00
clock_time.rs Fix precision handling in ClockTime Display impl 2017-12-10 12:31:41 +02:00
context.rs Run everything through latest rustfmt-nightly 2018-02-22 11:18:37 +01:00
date_time.rs Use unwrap_or_else() for the default value in the DateTime Display impl 2017-12-05 23:20:10 +02:00
device_provider.rs Run everything through latest rustfmt-nightly 2017-10-17 12:06:51 +03:00
element.rs element: add feature gate for test_call_async 2018-03-16 17:51:56 +02:00
enums.rs Run everything through rustfmt again 2017-12-20 19:30:14 +02:00
error.rs Derive Clone on ErrorMessage 2017-12-20 20:08:00 +02:00
event.rs Run everything through latest rustfmt-nightly 2018-02-22 11:18:37 +01:00
format.rs Run everything through rustfmt again 2017-12-20 19:30:14 +02:00
functions.rs Add newtype wrappers and INVALID constants for event/message GroupId and Seqnum 2017-12-05 21:33:04 +02:00
ghost_pad.rs Use the correct pad type for the proxy/ghost pad default pad functions 2017-12-17 11:24:03 +02:00
gobject.rs Fix indentation in a few places and remove unused imports 2017-07-24 11:52:28 +03:00
iterator.rs Add back callback guards 2018-03-02 21:34:29 +02:00
lib.rs Bus::get_pollfd generate doc for both unix & windows 2018-03-19 13:48:59 +02:00
log.rs Directly dereference DebugCategory struct to read the threshold and #[inline] 2018-03-16 12:27:36 +02:00
message.rs message: add test_other_fields 2018-03-19 10:32:07 +02:00
miniobject.rs Run everything through latest rustfmt-nightly 2018-02-22 11:18:37 +01:00
object.rs Use downcast_unchecked() for sender in deep-notify signal handler 2017-12-09 18:08:57 +02:00
pad.rs Add back callback guards 2018-03-02 21:34:29 +02:00
pad_template.rs Fix build 2018-03-19 10:32:07 +02:00
parse_context.rs Run everything through latest rustfmt-nightly 2017-09-10 15:21:26 +03:00
plugin.rs Various nullability fixes to plugin bindings, and add add_dependency() API 2017-12-17 14:26:17 +02:00
promise.rs Add Promise bindings 2018-03-19 10:32:07 +02:00
proxy_pad.rs Use the correct pad type for the proxy/ghost pad default pad functions 2017-12-17 11:24:03 +02:00
query.rs Run everything through latest rustfmt-nightly 2018-02-22 11:18:37 +01:00
sample.rs Various manual 1.14 API additions and remove deprecated functions 2018-03-19 10:32:07 +02:00
segment.rs Various manual 1.14 API additions and remove deprecated functions 2018-03-19 10:32:07 +02:00
static_caps.rs Run everything through latest rustfmt-nightly 2018-02-22 11:18:37 +01:00
static_pad_template.rs Run everything through rustfmt again 2017-12-20 19:30:14 +02:00
stream_collection.rs Fix various clippy warnings 2017-12-20 21:46:58 +02:00
structure.rs Run everything through latest rustfmt-nightly 2018-02-22 11:18:37 +01:00
tag_setter.rs Don't require a mutable self for TagSetterExtManual::add() 2017-12-23 11:43:09 +02:00
tags.rs Run everything through latest rustfmt-nightly 2018-02-22 11:18:37 +01:00
toc.rs Run everything through latest rustfmt-nightly 2018-02-22 11:18:37 +01:00
typefind.rs Add back callback guards 2018-03-02 21:34:29 +02:00
utils.rs Add private utils module with a MutexGuard around GMutex 2017-10-25 12:58:16 +02:00
value.rs Value: use new union for GValue_data 2018-02-05 05:28:09 +01:00