pub struct ElementDoc {
pub name: String,
pub long_name: String,
pub klass: String,
pub description: String,
pub author: String,
pub role: String,
pub experimental: bool,
pub caps: Option<String>,
pub pads: Vec<String>,
pub properties: Vec<PropertyDoc>,
}Expand description
Structured, owned introspection of one registered element: the same facts
Registry::inspect renders as a gst-inspect text dump, exposed as data
so external tooling (the searchable element reference on the docs site,
generated by g2g-docgen) reads from one source of truth. Built by
Registry::describe / Registry::describe_all.
Fields§
§name: StringRegistry / gst-launch name.
long_name: StringHuman-readable long name (may be empty).
klass: StringClassification (klass), e.g. "Codec/Encoder/Audio".
description: StringOne-paragraph description of what the element does.
Author / origin.
role: String"source", "element", or "muxer (fan-in)".
experimental: boolHost- or device-only runtime path: compiled, not promised in CI.
See STABILITY.md (Tier 3).
caps: Option<String>Output caps (sources / muxers), the debug spelling; None for a
transform / sink, which advertises pad templates instead.
pads: Vec<String>Pad templates as "DIR: caps" lines (transforms / sinks).
properties: Vec<PropertyDoc>Settable properties, in declaration order.
Trait Implementations§
Source§impl Clone for ElementDoc
impl Clone for ElementDoc
Source§fn clone(&self) -> ElementDoc
fn clone(&self) -> ElementDoc
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more