Struct gstreamer_video::VideoColorimetry [−][src]
pub struct VideoColorimetry(_);
Structure describing the color info.
Methods
impl VideoColorimetry[src]
impl VideoColorimetrypub fn new(
range: VideoColorRange,
matrix: VideoColorMatrix,
transfer: VideoTransferFunction,
primaries: VideoColorPrimaries
) -> Self[src]
pub fn new(
range: VideoColorRange,
matrix: VideoColorMatrix,
transfer: VideoTransferFunction,
primaries: VideoColorPrimaries
) -> Selfpub fn to_string(&self) -> String[src]
pub fn to_string(&self) -> Stringpub 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 VideoColorimetryfn clone(&self) -> Self[src]
fn clone(&self) -> SelfReturns 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 VideoColorimetryfn eq(&self, other: &Self) -> bool[src]
fn eq(&self, other: &Self) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for VideoColorimetry[src]
impl Eq for VideoColorimetryimpl FromStr for VideoColorimetry[src]
impl FromStr for VideoColorimetrytype 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 VideoColorimetryfn 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 VideoColorimetryAuto Trait Implementations
impl Send for VideoColorimetry
impl Send for VideoColorimetryimpl Sync for VideoColorimetry
impl Sync for VideoColorimetry