Struct pipewire_wrapper::spa::pod::object::format::VideoColorMatrix
source · #[repr(transparent)]pub struct VideoColorMatrix { /* private fields */ }
Implementations§
source§impl VideoColorMatrix
impl VideoColorMatrix
pub const UNKNOWN: VideoColorMatrix = _
pub const RGB: VideoColorMatrix = _
pub const FCC: VideoColorMatrix = _
pub const BT709: VideoColorMatrix = _
pub const BT601: VideoColorMatrix = _
pub const SMPTE240M: VideoColorMatrix = _
pub const BT2020: VideoColorMatrix = _
Trait Implementations§
source§impl Clone for VideoColorMatrix
impl Clone for VideoColorMatrix
source§fn clone(&self) -> VideoColorMatrix
fn clone(&self) -> VideoColorMatrix
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 VideoColorMatrix
impl Debug for VideoColorMatrix
source§impl From<VideoColorMatrix> for spa_video_color_matrix
impl From<VideoColorMatrix> for spa_video_color_matrix
source§fn from(value: VideoColorMatrix) -> Self
fn from(value: VideoColorMatrix) -> Self
Converts to this type from the input type.
source§impl From<u32> for VideoColorMatrix
impl From<u32> for VideoColorMatrix
source§fn from(value: spa_video_color_matrix) -> Self
fn from(value: spa_video_color_matrix) -> Self
Converts to this type from the input type.
source§impl PartialEq<VideoColorMatrix> for VideoColorMatrix
impl PartialEq<VideoColorMatrix> for VideoColorMatrix
source§fn eq(&self, other: &VideoColorMatrix) -> bool
fn eq(&self, other: &VideoColorMatrix) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PodIdType for VideoColorMatrix
impl PodIdType for VideoColorMatrix
fn to_alloc_pod(&self) -> AllocPod<PodIdRef<Self>>
source§impl RawWrapper for VideoColorMatrix
impl RawWrapper for VideoColorMatrix
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 VideoColorMatrix
impl Eq for VideoColorMatrix
impl StructuralEq for VideoColorMatrix
impl StructuralPartialEq for VideoColorMatrix
Auto Trait Implementations§
impl RefUnwindSafe for VideoColorMatrix
impl Send for VideoColorMatrix
impl Sync for VideoColorMatrix
impl Unpin for VideoColorMatrix
impl UnwindSafe for VideoColorMatrix
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