Struct gstreamer_video::VideoContentLightLevel
source · pub struct VideoContentLightLevel(/* private fields */);
Implementations§
source§impl VideoContentLightLevel
impl VideoContentLightLevel
pub fn new( max_content_light_level: u16, max_frame_average_light_level: u16, ) -> Self
pub fn max_content_light_level(&self) -> u16
pub fn set_max_content_light_level(&mut self, max_content_light_level: u16)
pub fn max_frame_average_light_level(&self) -> u16
pub fn set_max_frame_average_light_level( &mut self, max_frame_average_light_level: u16, )
pub fn add_to_caps(&self, caps: &mut CapsRef)
pub fn from_caps(caps: &CapsRef) -> Result<Self, BoolError>
Trait Implementations§
source§impl Clone for VideoContentLightLevel
impl Clone for VideoContentLightLevel
source§fn clone(&self) -> VideoContentLightLevel
fn clone(&self) -> VideoContentLightLevel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VideoContentLightLevel
impl Debug for VideoContentLightLevel
source§impl Display for VideoContentLightLevel
impl Display for VideoContentLightLevel
source§impl FromStr for VideoContentLightLevel
impl FromStr for VideoContentLightLevel
source§impl PartialEq for VideoContentLightLevel
impl PartialEq for VideoContentLightLevel
source§impl<'a> TryFrom<&'a CapsRef> for VideoContentLightLevel
impl<'a> TryFrom<&'a CapsRef> for VideoContentLightLevel
impl Copy for VideoContentLightLevel
impl Eq for VideoContentLightLevel
Auto Trait Implementations§
impl Freeze for VideoContentLightLevel
impl RefUnwindSafe for VideoContentLightLevel
impl !Send for VideoContentLightLevel
impl !Sync for VideoContentLightLevel
impl Unpin for VideoContentLightLevel
impl UnwindSafe for VideoContentLightLevel
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more