Struct gstreamer_video::VideoColorimetry [−][src]
pub struct VideoColorimetry(_);
Structure describing the color info.
Methods
impl VideoColorimetry
[src]
impl VideoColorimetry
pub fn new(
range: VideoColorRange,
matrix: VideoColorMatrix,
transfer: VideoTransferFunction,
primaries: VideoColorPrimaries
) -> Self
[src]
pub fn new(
range: VideoColorRange,
matrix: VideoColorMatrix,
transfer: VideoTransferFunction,
primaries: VideoColorPrimaries
) -> Self
pub fn to_string(&self) -> String
[src]
pub fn to_string(&self) -> String
pub fn from_string(s: &str) -> Option<Self>
[src]
pub fn from_string(s: &str) -> Option<Self>
Trait Implementations
impl Clone for VideoColorimetry
[src]
impl Clone for VideoColorimetry
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for VideoColorimetry
[src]
impl PartialEq for VideoColorimetry
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for VideoColorimetry
[src]
impl Eq for VideoColorimetry
impl FromStr for VideoColorimetry
[src]
impl FromStr for VideoColorimetry
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, ()>
[src]
fn from_str(s: &str) -> Result<Self, ()>
Parses a string s
to return a value of this type. Read more
impl Debug for VideoColorimetry
[src]
impl Debug for VideoColorimetry
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Display for VideoColorimetry
[src]
impl Display for VideoColorimetry
Auto Trait Implementations
impl Send for VideoColorimetry
impl Send for VideoColorimetry
impl Sync for VideoColorimetry
impl Sync for VideoColorimetry