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