pub trait MediaStreamsExt<This>where
This: FormatPredicateAlg,{
// Required method
fn stream_role_format(&self, streams: MediaStreams) -> This::Predicate;
}Expand description
Derives the format predicate one set of stream roles requires.
Required Methods§
Sourcefn stream_role_format(&self, streams: MediaStreams) -> This::Predicate
fn stream_role_format(&self, streams: MediaStreams) -> This::Predicate
Defines the predicate accepting exactly the formats those roles require.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<This> MediaStreamsExt<This> for Thiswhere
This: FormatPredicateAlg,
Derives the format predicate one set of stream roles requires.