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