pub struct ObjectEnumFormatInfo<'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 PodChoiceRef<PodIdRef<AudioFormat>>>, pub audio_flags: Option<&'a PodFlagsRef<PodIntRef>>, pub audio_rate: Option<&'a PodChoiceRef<PodIntRef>>, pub audio_channels: Option<&'a PodChoiceRef<PodIntRef>>, pub audio_position: Option<&'a PodArrayRef<PodIdRef<u32>>>, pub audio_iec958codec: Option<&'a PodChoiceRef<PodIdRef<AudioIec958Codec>>>, pub audio_bitorder: Option<&'a PodChoiceRef<PodIdRef<ParamBitorder>>>, pub audio_interleave: Option<&'a PodChoiceRef<PodIntRef>>, pub video_format: Option<&'a PodChoiceRef<PodIdRef<VideoFormat>>>, pub video_modifier: Option<&'a PodLongRef>, pub video_size: Option<&'a PodChoiceRef<PodRectangleRef>>, pub video_framerate: Option<&'a PodChoiceRef<PodFractionRef>>, pub video_max_framerate: Option<&'a PodChoiceRef<PodFractionRef>>, pub video_views: Option<&'a PodIntRef>, pub video_interlace_mode: Option<&'a PodChoiceRef<PodIdRef<VideoInterlaceMode>>>, pub video_pixel_aspect_ratio: Option<&'a PodChoiceRef<PodRectangleRef>>, pub video_multiview_mode: Option<&'a PodChoiceRef<PodIdRef<VideoMultiviewMode>>>, pub video_multiview_flags: Option<&'a PodChoiceRef<PodIdRef<VideoMultiviewFlags>>>, pub video_chroma_site: Option<&'a PodChoiceRef<PodIdRef<VideoChromaSite>>>, pub video_color_range: Option<&'a PodChoiceRef<PodIdRef<VideoColorRange>>>, pub video_color_matrix: Option<&'a PodChoiceRef<PodIdRef<VideoColorMatrix>>>, pub video_transfer_function: Option<&'a PodChoiceRef<PodIdRef<VideoTransferFunction>>>, pub video_color_primaries: Option<&'a PodChoiceRef<PodIdRef<VideoColorPrimaries>>>, pub video_profile: Option<&'a PodChoiceRef<PodIntRef>>, pub video_level: Option<&'a PodChoiceRef<PodIntRef>>, pub video_h264_stream_format: Option<&'a PodChoiceRef<PodIdRef<VideoH264StreamFormat>>>, pub video_h264_alignment: Option<&'a PodChoiceRef<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 PodChoiceRef<PodIdRef<AudioFormat>>>§audio_flags: Option<&'a PodFlagsRef<PodIntRef>>§audio_rate: Option<&'a PodChoiceRef<PodIntRef>>§audio_channels: Option<&'a PodChoiceRef<PodIntRef>>§audio_position: Option<&'a PodArrayRef<PodIdRef<u32>>>§audio_iec958codec: Option<&'a PodChoiceRef<PodIdRef<AudioIec958Codec>>>§audio_bitorder: Option<&'a PodChoiceRef<PodIdRef<ParamBitorder>>>§audio_interleave: Option<&'a PodChoiceRef<PodIntRef>>§video_format: Option<&'a PodChoiceRef<PodIdRef<VideoFormat>>>§video_modifier: Option<&'a PodLongRef>§video_size: Option<&'a PodChoiceRef<PodRectangleRef>>§video_framerate: Option<&'a PodChoiceRef<PodFractionRef>>§video_max_framerate: Option<&'a PodChoiceRef<PodFractionRef>>§video_views: Option<&'a PodIntRef>§video_interlace_mode: Option<&'a PodChoiceRef<PodIdRef<VideoInterlaceMode>>>§video_pixel_aspect_ratio: Option<&'a PodChoiceRef<PodRectangleRef>>§video_multiview_mode: Option<&'a PodChoiceRef<PodIdRef<VideoMultiviewMode>>>§video_multiview_flags: Option<&'a PodChoiceRef<PodIdRef<VideoMultiviewFlags>>>§video_chroma_site: Option<&'a PodChoiceRef<PodIdRef<VideoChromaSite>>>§video_color_range: Option<&'a PodChoiceRef<PodIdRef<VideoColorRange>>>§video_color_matrix: Option<&'a PodChoiceRef<PodIdRef<VideoColorMatrix>>>§video_transfer_function: Option<&'a PodChoiceRef<PodIdRef<VideoTransferFunction>>>§video_color_primaries: Option<&'a PodChoiceRef<PodIdRef<VideoColorPrimaries>>>§video_profile: Option<&'a PodChoiceRef<PodIntRef>>§video_level: Option<&'a PodChoiceRef<PodIntRef>>§video_h264_stream_format: Option<&'a PodChoiceRef<PodIdRef<VideoH264StreamFormat>>>§video_h264_alignment: Option<&'a PodChoiceRef<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 ObjectEnumFormatInfo<'a>

source§

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

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

impl<'a> Default for ObjectEnumFormatInfo<'a>

source§

fn default() -> ObjectEnumFormatInfo<'a>

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

impl<'a> TryFrom<&'a PodObjectRef> for ObjectEnumFormatInfo<'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§

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.