#[repr(u32)]pub enum Profile {
Show 22 variants
H264Baseline = 256,
H264Main = 257,
H264Extended = 258,
H264High = 259,
H264High10 = 260,
H264High422 = 261,
H264High444PredictiveProfile = 262,
H264ScalableBaseline = 263,
H264ScalableHigh = 264,
H264StereoHigh = 265,
H264MultiviewHigh = 266,
HevcMain = 512,
HevcMain10 = 513,
HevcMainStillPicture = 514,
VP8Profile0 = 768,
VP8Profile1 = 769,
VP8Profile2 = 770,
VP8Profile3 = 771,
VP9Profile0 = 1_024,
VP9Profile1 = 1_025,
VP9Profile2 = 1_026,
VP9Profile3 = 1_027,
}
Variants§
H264Baseline = 256
H264Main = 257
H264Extended = 258
H264High = 259
H264High10 = 260
H264High422 = 261
H264High444PredictiveProfile = 262
H264ScalableBaseline = 263
H264ScalableHigh = 264
H264StereoHigh = 265
H264MultiviewHigh = 266
HevcMain = 512
HevcMain10 = 513
HevcMainStillPicture = 514
VP8Profile0 = 768
VP8Profile1 = 769
VP8Profile2 = 770
VP8Profile3 = 771
VP9Profile0 = 1_024
VP9Profile1 = 1_025
VP9Profile2 = 1_026
VP9Profile3 = 1_027
Implementations§
source§impl Profile
impl Profile
pub fn from_libvda_profile(p: Profile) -> Option<Self>
pub fn to_libvda_profile(self) -> Option<Profile>
Trait Implementations§
source§impl Ord for Profile
impl Ord for Profile
source§impl PartialEq for Profile
impl PartialEq for Profile
source§impl PartialOrd for Profile
impl PartialOrd for Profile
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Profile
impl Eq for Profile
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.