Struct pipewire_wrapper::spa::pod::object::format::VideoColorPrimaries     
source · #[repr(transparent)]pub struct VideoColorPrimaries { /* private fields */ }Implementations§
source§impl VideoColorPrimaries
 
impl VideoColorPrimaries
pub const UNKNOWN: VideoColorPrimaries = _
pub const BT709: VideoColorPrimaries = _
pub const BT470M: VideoColorPrimaries = _
pub const BT470BG: VideoColorPrimaries = _
pub const SMPTE170M: VideoColorPrimaries = _
pub const SMPTE240M: VideoColorPrimaries = _
pub const FILM: VideoColorPrimaries = _
pub const BT2020: VideoColorPrimaries = _
pub const ADOBERGB: VideoColorPrimaries = _
Trait Implementations§
source§impl Clone for VideoColorPrimaries
 
impl Clone for VideoColorPrimaries
source§fn clone(&self) -> VideoColorPrimaries
 
fn clone(&self) -> VideoColorPrimaries
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 VideoColorPrimaries
 
impl Debug for VideoColorPrimaries
source§impl From<VideoColorPrimaries> for spa_video_color_primaries
 
impl From<VideoColorPrimaries> for spa_video_color_primaries
source§fn from(value: VideoColorPrimaries) -> Self
 
fn from(value: VideoColorPrimaries) -> Self
Converts to this type from the input type.
source§impl From<u32> for VideoColorPrimaries
 
impl From<u32> for VideoColorPrimaries
source§fn from(value: spa_video_color_primaries) -> Self
 
fn from(value: spa_video_color_primaries) -> Self
Converts to this type from the input type.
source§impl PartialEq<VideoColorPrimaries> for VideoColorPrimaries
 
impl PartialEq<VideoColorPrimaries> for VideoColorPrimaries
source§fn eq(&self, other: &VideoColorPrimaries) -> bool
 
fn eq(&self, other: &VideoColorPrimaries) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PodIdType for VideoColorPrimaries
 
impl PodIdType for VideoColorPrimaries
fn to_alloc_pod(&self) -> AllocPod<PodIdRef<Self>>
source§impl RawWrapper for VideoColorPrimaries
 
impl RawWrapper for VideoColorPrimaries
source§fn as_raw_ptr(&self) -> *mut Self::CType
 
fn as_raw_ptr(&self) -> *mut Self::CType
Raw ptr to the external type
source§fn from_raw(raw: Self::CType) -> Self
 
fn from_raw(raw: Self::CType) -> Self
Creates wrapper from the external value, can be use when external type has no raw pointers.
source§unsafe fn mut_from_raw_ptr<'lft>(raw: *mut Self::CType) -> &'lft mut Self
 
unsafe fn mut_from_raw_ptr<'lft>(raw: *mut Self::CType) -> &'lft mut Self
Cast external pointer to the borrowed mutable wrapper.
Panic when pointer is null.
Lifetime is not reliable and should be guaranteed explicitly. Read more
impl Copy for VideoColorPrimaries
impl Eq for VideoColorPrimaries
impl StructuralEq for VideoColorPrimaries
impl StructuralPartialEq for VideoColorPrimaries
Auto Trait Implementations§
impl RefUnwindSafe for VideoColorPrimaries
impl Send for VideoColorPrimaries
impl Sync for VideoColorPrimaries
impl Unpin for VideoColorPrimaries
impl UnwindSafe for VideoColorPrimaries
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