gstreamer-rs/gstreamer/src
François Laignel 865df62f8d gst/format: add CompatibleFormattedValue
The trait CompatibleFormattedValue can be used to check argument
compatibility to a certain Format. This is convenient to define
function which accept several FormattedValues which must hold
values of the same Format.

This trait enforces format compatibility at compilation time for
SpecificFormattedValues and at runtime when a GenericFormattedValue
is provided.

See https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1059
2022-07-11 19:45:52 +02:00
..
auto Regenerate 2022-06-30 08:46:06 +03:00
subclass tracer: Add bindings for new pad chain hooks 2022-06-30 08:46:06 +03:00
allocation_params.rs gstreamer: Add bindings for querying allocation params 2021-10-12 17:16:21 +01:00
bin.rs gstreamer: Add many new doc aliases for C function 2021-12-12 17:52:32 +02:00
buffer.rs Implement more iterator functions / traits in custom iterators for efficiency reasons 2022-05-22 12:42:42 +03:00
buffer_cursor.rs manual code: fix-getters-def doc aliases 2021-05-03 20:46:57 +02:00
buffer_pool.rs Use IntoGlibPtr trait instead of implementing into_ptr 2022-05-07 13:38:11 +02:00
buffer_serde.rs gstreamer: Fix a few new clippy warnings 2022-05-20 11:19:07 +03:00
bufferlist.rs Implement more iterator functions / traits in custom iterators for efficiency reasons 2022-05-22 12:42:42 +03:00
bufferlist_serde.rs Add De/Serialization for most bitflag types 2022-05-06 09:05:52 +00:00
bus.rs bus: Take ownership of the message in post() 2022-06-28 23:36:08 +03:00
bus_unix.rs Add missing doc aliases to manual code 2021-05-19 22:36:18 +02:00
bus_windows.rs Add missing doc aliases to manual code 2021-05-19 22:36:18 +02:00
caps.rs caps: add new_empty_simple constructor 2022-07-05 14:49:21 +02:00
caps_features.rs Implement more iterator functions / traits in custom iterators for efficiency reasons 2022-05-22 12:42:42 +03:00
caps_features_serde.rs Fix (new) clippy warnings 2021-08-03 10:08:32 +02:00
caps_serde.rs gstreamer: Update ron dev-dependency to 0.7 2021-10-23 10:40:24 +03:00
child_proxy.rs gstreamer: Make child proxy property API more consistent with the object property API 2021-11-19 10:54:52 +02:00
clock.rs gstreamer: Add many new doc aliases for C function 2021-12-12 17:52:32 +02:00
clock_time.rs gstreamer: Update for optional glib::Value type refactoring 2022-03-07 13:20:08 +02:00
clock_time_serde.rs gstreamer: Fix a few new clippy warnings 2022-05-20 11:19:07 +03:00
context.rs Add missing doc aliases to manual code 2021-05-19 22:36:18 +02:00
control_binding.rs Add missing doc aliases to manual code 2021-05-19 22:36:18 +02:00
control_source.rs Add missing doc aliases to manual code 2021-05-19 22:36:18 +02:00
date_time.rs gstreamer: Rename DateTime constructors to replace the new_ prefix with from_ 2021-11-20 12:20:25 +02:00
date_time_serde.rs gstreamer: Fix serde serialization tests 2022-06-24 11:13:06 +03:00
device_monitor.rs Update minimum supported version to 1.14 2022-04-07 12:45:47 +03:00
device_provider.rs gstreamer: Use glib::List in various places for reducing allocations when working with factory lists 2021-11-20 14:44:49 +02:00
device_provider_factory.rs gstreamer: Add getters for ElementFactory/DeviceProviderFactory metadata 2021-11-28 21:00:05 +01:00
element.rs Implement FormattedValue on any candidate type 2022-07-11 19:45:52 +02:00
element_factory.rs gstreamer: Add getters for ElementFactory/DeviceProviderFactory metadata 2021-11-28 21:00:05 +01:00
element_factory_type.rs gstreamer: Use glib::List in various places for reducing allocations when working with factory lists 2021-11-20 14:44:49 +02:00
enums.rs Update minimum supported version to 1.14 2022-04-07 12:45:47 +03:00
error.rs Clean up various imports everywhere 2021-04-26 15:16:58 +03:00
event.rs Implement FormattedValue on any candidate type 2022-07-11 19:45:52 +02:00
flag_serde.rs Add De/Serialization for most bitflag types 2022-05-06 09:05:52 +00:00
format.rs gst/format: add CompatibleFormattedValue 2022-07-11 19:45:52 +02:00
format_serde.rs Remove unneeded std::convert::TryFrom/TryInto and std::str::FromStr imports 2021-10-31 18:20:31 +02:00
functions.rs Update minimum supported version to 1.14 2022-04-07 12:45:47 +03:00
ghost_pad.rs gstreamer: Add many new doc aliases for C function 2021-12-12 17:52:32 +02:00
gobject.rs gstreamer: Don't re-export traits from the crate root 2022-04-04 08:51:04 +00:00
iterator.rs Implement more iterator functions / traits in custom iterators for efficiency reasons 2022-05-22 12:42:42 +03:00
lib.rs gst/format: add CompatibleFormattedValue 2022-07-11 19:45:52 +02:00
log.rs gstreamer: Simplify and speed up log message string construction 2022-02-26 13:33:00 +02:00
macros.rs gst/format: add CompatibleFormattedValue 2022-07-11 19:45:52 +02:00
memory.rs Use IntoGlibPtr trait instead of implementing into_ptr 2022-05-07 13:38:11 +02:00
message.rs Implement FormattedValue on any candidate type 2022-07-11 19:45:52 +02:00
meta.rs Use IntoGlibPtr trait instead of implementing into_ptr 2022-05-07 13:38:11 +02:00
miniobject.rs Use IntoGlibPtr trait instead of implementing into_ptr 2022-05-07 13:38:11 +02:00
object.rs gstreamer: Add many new doc aliases for C function 2021-12-12 17:52:32 +02:00
pad.rs Implement FormattedValue on any candidate type 2022-07-11 19:45:52 +02:00
pad_template.rs gstreamer: Add #[must_use] annotation to PadTemplateBuilder 2022-05-08 11:41:54 +03:00
param_spec.rs Fix/silence a couple new clippy warnings 2022-06-30 13:08:33 +00:00
parse_context.rs Generate missing doc aliases for newtypes 2021-06-01 15:15:59 +02:00
pipeline.rs manual code: fix-getters-def doc aliases 2021-05-03 20:46:57 +02:00
plugin.rs Use IntoGlibPtr trait instead of implementing into_ptr 2022-05-07 13:38:11 +02:00
plugin_feature.rs Add missing doc aliases to manual code 2021-05-19 22:36:18 +02:00
promise.rs gstreamer: Implement FusedFuture for PromiseFuture 2022-05-22 12:42:42 +03:00
proxy_pad.rs Use IntoGlibPtr trait instead of implementing into_ptr 2022-05-07 13:38:11 +02:00
query.rs Implement FormattedValue on any candidate type 2022-07-11 19:45:52 +02:00
registry.rs gstreamer: Use glib::List in various places for reducing allocations when working with factory lists 2021-11-20 14:44:49 +02:00
sample.rs gstreamer: Allow borrowing Segments from Values without copying 2022-06-27 22:28:49 +03:00
sample_serde.rs gstreamer: Fix serde serialization tests 2022-06-24 11:13:06 +03:00
segment.rs Implement FormattedValue on any candidate type 2022-07-11 19:45:52 +02:00
segment_serde.rs Implement FormattedValue on any candidate type 2022-07-11 19:45:52 +02:00
serde_macros.rs Add De/Serialization for most bitflag types 2022-05-06 09:05:52 +00:00
static_caps.rs Generate missing doc aliases for newtypes 2021-06-01 15:15:59 +02:00
static_pad_template.rs Generate missing doc aliases for newtypes 2021-06-01 15:15:59 +02:00
stream.rs Update minimum supported version to 1.14 2022-04-07 12:45:47 +03:00
stream_collection.rs Implement more iterator functions / traits in custom iterators for efficiency reasons 2022-05-22 12:42:42 +03:00
structure.rs gstreamer: Index structures/taglist more safely 2022-05-22 12:42:42 +03:00
structure_serde.rs gstreamer: Fix serde serialization tests 2022-06-24 11:13:06 +03:00
tag_setter.rs Add missing doc aliases to manual code 2021-05-19 22:36:18 +02:00
tags.rs gstreamer: Index structures/taglist more safely 2022-05-22 12:42:42 +03:00
tags_serde.rs gstreamer: Fix serde serialization tests 2022-06-24 11:13:06 +03:00
task.rs Fix/silence a couple new clippy warnings 2022-06-30 13:08:33 +00:00
task_pool.rs gstreamer: Add TaskPool bindings and subclassing 2022-03-30 23:01:21 +02:00
toc.rs Use IntoGlibPtr trait instead of implementing into_ptr 2022-05-07 13:38:11 +02:00
toc_serde.rs gstreamer: Update ron dev-dependency to 0.7 2021-10-23 10:40:24 +03:00
tracer.rs Bindings to GstTracer and GstTracerFactory 2021-08-16 14:38:22 +03:00
tracer_factory.rs Update minimum supported version to 1.14 2022-04-07 12:45:47 +03:00
typefind.rs gstreamer: Fix a few new clippy warnings 2022-05-20 11:19:07 +03:00
typefind_factory.rs gstreamer: Use glib::List in various places for reducing allocations when working with factory lists 2021-11-20 14:44:49 +02:00
utils.rs Rework ClockTime & FormattedValues 2021-06-04 22:09:38 +02:00
value.rs gstreamer: Require Send and not Sync for the values of an Array / List 2022-03-08 14:46:13 +02:00
value_serde.rs gstreamer/value_serde: fix nested structures 2021-12-01 17:41:48 +00:00