pub struct ObjectFormatInfo<'a> {
Show 59 fields pub body_id: u32, pub media_type: Option<&'a PodIdRef<MediaType>>, pub media_subtype: Option<&'a PodIdRef<MediaSubType>>, pub audio_format: Option<&'a PodIdRef<AudioFormat>>, pub audio_flags: Option<&'a PodIntRef>, pub audio_rate: Option<&'a PodIntRef>, pub audio_channels: Option<&'a PodIntRef>, pub audio_position: Option<&'a PodArrayRef<PodIdRef<u32>>>, pub audio_iec958codec: Option<&'a PodIdRef<AudioIec958Codec>>, pub audio_bitorder: Option<&'a PodIdRef<ParamBitorder>>, pub audio_interleave: Option<&'a PodIntRef>, pub video_format: Option<&'a PodIdRef<VideoFormat>>, pub video_modifier: Option<&'a PodLongRef>, pub video_size: Option<&'a PodRectangleRef>, pub video_framerate: Option<&'a PodFractionRef>, pub video_max_framerate: Option<&'a PodFractionRef>, pub video_views: Option<&'a PodIntRef>, pub video_interlace_mode: Option<&'a PodIdRef<VideoInterlaceMode>>, pub video_pixel_aspect_ratio: Option<&'a PodRectangleRef>, pub video_multiview_mode: Option<&'a PodIdRef<VideoMultiviewMode>>, pub video_multiview_flags: Option<&'a PodIdRef<VideoMultiviewFlags>>, pub video_chroma_site: Option<&'a PodIdRef<VideoChromaSite>>, pub video_color_range: Option<&'a PodIdRef<VideoColorRange>>, pub video_color_matrix: Option<&'a PodIdRef<VideoColorMatrix>>, pub video_transfer_function: Option<&'a PodIdRef<VideoTransferFunction>>, pub video_color_primaries: Option<&'a PodIdRef<VideoColorPrimaries>>, pub video_profile: Option<&'a PodIntRef>, pub video_level: Option<&'a PodIntRef>, pub video_h264_stream_format: Option<&'a PodIdRef<VideoH264StreamFormat>>, pub video_h264_alignment: Option<&'a PodIdRef<VideoH264Alignment>>, pub media_type_flags: PodPropFlags, pub media_subtype_flags: PodPropFlags, pub audio_format_flags: PodPropFlags, pub audio_flags_flags: PodPropFlags, pub audio_rate_flags: PodPropFlags, pub audio_channels_flags: PodPropFlags, pub audio_position_flags: PodPropFlags, pub audio_iec958codec_flags: PodPropFlags, pub audio_bitorder_flags: PodPropFlags, pub audio_interleave_flags: PodPropFlags, pub video_format_flags: PodPropFlags, pub video_modifier_flags: PodPropFlags, pub video_size_flags: PodPropFlags, pub video_framerate_flags: PodPropFlags, pub video_max_framerate_flags: PodPropFlags, pub video_views_flags: PodPropFlags, pub video_interlace_mode_flags: PodPropFlags, pub video_pixel_aspect_ratio_flags: PodPropFlags, pub video_multiview_mode_flags: PodPropFlags, pub video_multiview_flags_flags: PodPropFlags, pub video_chroma_site_flags: PodPropFlags, pub video_color_range_flags: PodPropFlags, pub video_color_matrix_flags: PodPropFlags, pub video_transfer_function_flags: PodPropFlags, pub video_color_primaries_flags: PodPropFlags, pub video_profile_flags: PodPropFlags, pub video_level_flags: PodPropFlags, pub video_h264_stream_format_flags: PodPropFlags, pub video_h264_alignment_flags: PodPropFlags,
}

Fields§

§body_id: u32§media_type: Option<&'a PodIdRef<MediaType>>§media_subtype: Option<&'a PodIdRef<MediaSubType>>§audio_format: Option<&'a PodIdRef<AudioFormat>>§audio_flags: Option<&'a PodIntRef>§audio_rate: Option<&'a PodIntRef>§audio_channels: Option<&'a PodIntRef>§audio_position: Option<&'a PodArrayRef<PodIdRef<u32>>>§audio_iec958codec: Option<&'a PodIdRef<AudioIec958Codec>>§audio_bitorder: Option<&'a PodIdRef<ParamBitorder>>§audio_interleave: Option<&'a PodIntRef>§video_format: Option<&'a PodIdRef<VideoFormat>>§video_modifier: Option<&'a PodLongRef>§video_size: Option<&'a PodRectangleRef>§video_framerate: Option<&'a PodFractionRef>§video_max_framerate: Option<&'a PodFractionRef>§video_views: Option<&'a PodIntRef>§video_interlace_mode: Option<&'a PodIdRef<VideoInterlaceMode>>§video_pixel_aspect_ratio: Option<&'a PodRectangleRef>§video_multiview_mode: Option<&'a PodIdRef<VideoMultiviewMode>>§video_multiview_flags: Option<&'a PodIdRef<VideoMultiviewFlags>>§video_chroma_site: Option<&'a PodIdRef<VideoChromaSite>>§video_color_range: Option<&'a PodIdRef<VideoColorRange>>§video_color_matrix: Option<&'a PodIdRef<VideoColorMatrix>>§video_transfer_function: Option<&'a PodIdRef<VideoTransferFunction>>§video_color_primaries: Option<&'a PodIdRef<VideoColorPrimaries>>§video_profile: Option<&'a PodIntRef>§video_level: Option<&'a PodIntRef>§video_h264_stream_format: Option<&'a PodIdRef<VideoH264StreamFormat>>§video_h264_alignment: Option<&'a PodIdRef<VideoH264Alignment>>§media_type_flags: PodPropFlags§media_subtype_flags: PodPropFlags§audio_format_flags: PodPropFlags§audio_flags_flags: PodPropFlags§audio_rate_flags: PodPropFlags§audio_channels_flags: PodPropFlags§audio_position_flags: PodPropFlags§audio_iec958codec_flags: PodPropFlags§audio_bitorder_flags: PodPropFlags§audio_interleave_flags: PodPropFlags§video_format_flags: PodPropFlags§video_modifier_flags: PodPropFlags§video_size_flags: PodPropFlags§video_framerate_flags: PodPropFlags§video_max_framerate_flags: PodPropFlags§video_views_flags: PodPropFlags§video_interlace_mode_flags: PodPropFlags§video_pixel_aspect_ratio_flags: PodPropFlags§video_multiview_mode_flags: PodPropFlags§video_multiview_flags_flags: PodPropFlags§video_chroma_site_flags: PodPropFlags§video_color_range_flags: PodPropFlags§video_color_matrix_flags: PodPropFlags§video_transfer_function_flags: PodPropFlags§video_color_primaries_flags: PodPropFlags§video_profile_flags: PodPropFlags§video_level_flags: PodPropFlags§video_h264_stream_format_flags: PodPropFlags§video_h264_alignment_flags: PodPropFlags

Trait Implementations§

source§

impl<'a> Debug for ObjectFormatInfo<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> Default for ObjectFormatInfo<'a>

source§

fn default() -> ObjectFormatInfo<'a>

Returns the “default value” for a type. Read more
source§

impl<'a> TryFrom<&'a PodObjectRef> for ObjectFormatInfo<'a>

§

type Error = PodError

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a PodObjectRef) -> Result<Self, Self::Error>

Performs the conversion.

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for ObjectFormatInfo<'a>

§

impl<'a> Send for ObjectFormatInfo<'a>

§

impl<'a> Sync for ObjectFormatInfo<'a>

§

impl<'a> Unpin for ObjectFormatInfo<'a>

§

impl<'a> UnwindSafe for ObjectFormatInfo<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.