pub struct CapabilityReport {
pub schema: &'static str,
pub version: u32,
pub runtime: Runtime,
pub gpu: GpuReport,
pub color: ColorReport,
pub playback: PlaybackReport,
pub decode: Value,
pub encode: Value,
pub features: BTreeMap<String, Feature>,
}Expand description
What a runtime can do.
Fields§
§schema: &'static str§version: u32§runtime: RuntimeWhere the engine runs.
gpu: GpuReportThe GPU it renders with.
color: ColorReportHow it handles color.
playback: PlaybackReportHow its real-time playback behaves.
decode: ValueHow the runtime decodes video: a host-specific description, or
null when decoding is not the runtime’s (the browser’s page does
it).
encode: ValueWhat the runtime encodes: container, codecs, encoders; null when
it is only known at export.
features: BTreeMap<String, Feature>Named features, each available or not, with why not.
Implementations§
Trait Implementations§
Source§impl Clone for CapabilityReport
impl Clone for CapabilityReport
Source§impl Debug for CapabilityReport
impl Debug for CapabilityReport
Source§impl PartialEq for CapabilityReport
impl PartialEq for CapabilityReport
Source§impl Serialize for CapabilityReport
impl Serialize for CapabilityReport
impl StructuralPartialEq for CapabilityReport
Auto Trait Implementations§
impl Freeze for CapabilityReport
impl RefUnwindSafe for CapabilityReport
impl Send for CapabilityReport
impl Sync for CapabilityReport
impl Unpin for CapabilityReport
impl UnsafeUnpin for CapabilityReport
impl UnwindSafe for CapabilityReport
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