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