pub enum ElementType {
Show 39 variants
FileDemuxer,
AppSource,
RtspSource,
TestVideoSource,
TestAudioSource,
DxgiCaptureSource,
WasapiCaptureSource,
AudioMixer,
VideoCompositor,
D3d11VideoCompositor,
WebRtcPeer,
SwDecoder,
D3d12vaDecoder,
D3d12Upload,
D3d11Decoder,
D3d11Upload,
D3d11Download,
SwEncoder,
D3d11NvencEncoder,
SwAudioEncoder,
AudioResampler,
AudioVolume,
Pacer,
VideoSynchronizer,
Scaler,
Tee,
Queue,
FrameCounter,
PacketCounter,
D3d12Renderer,
D3d11Renderer,
WasapiRenderer,
RtspSink,
AppSink,
OrtDetector,
HlsMuxer,
Mp4Muxer,
SegmentedMp4Muxer,
Other,
}Expand description
Which kind of element posted a crate::bus::BusEvent — cheap to
compare/match, unlike the accompanying name: Arc<str> (an
instance-level identifier chosen by whoever constructed it, needed
alongside this to tell apart e.g. two Queues in the same pipeline;
see Element::element_type).
Variants§
FileDemuxer
AppSource
RtspSource
TestVideoSource
TestAudioSource
DxgiCaptureSource
WasapiCaptureSource
AudioMixer
VideoCompositor
D3d11VideoCompositor
WebRtcPeer
SwDecoder
D3d12vaDecoder
D3d12Upload
D3d11Decoder
D3d11Upload
D3d11Download
SwEncoder
D3d11NvencEncoder
SwAudioEncoder
AudioResampler
AudioVolume
Pacer
VideoSynchronizer
Scaler
Tee
Queue
FrameCounter
PacketCounter
D3d12Renderer
D3d11Renderer
WasapiRenderer
RtspSink
AppSink
OrtDetector
HlsMuxer
Mp4Muxer
SegmentedMp4Muxer
Other
Anything outside this crate’s own elements — a test double, or a
custom Sink/SourceElement implemented downstream of this
crate. Keeps this enum from needing to grow every time someone
adds their own element.
Trait Implementations§
Source§impl Clone for ElementType
impl Clone for ElementType
Source§fn clone(&self) -> ElementType
fn clone(&self) -> ElementType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ElementType
Source§impl Debug for ElementType
impl Debug for ElementType
impl Eq for ElementType
Source§impl PartialEq for ElementType
impl PartialEq for ElementType
impl StructuralPartialEq for ElementType
Auto Trait Implementations§
impl Freeze for ElementType
impl RefUnwindSafe for ElementType
impl Send for ElementType
impl Sync for ElementType
impl Unpin for ElementType
impl UnsafeUnpin for ElementType
impl UnwindSafe for ElementType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more