#[repr(transparent)]pub struct Format { /* private fields */ }
Implementations§
source§impl Format
impl Format
pub const _START: Format = _
pub const MEDIA_TYPE: Format = _
pub const MEDIA_SUBTYPE: Format = _
pub const _START_AUDIO: Format = _
pub const AUDIO_FORMAT: Format = _
pub const AUDIO_FLAGS: Format = _
pub const AUDIO_RATE: Format = _
pub const AUDIO_CHANNELS: Format = _
pub const AUDIO_POSITION: Format = _
pub const AUDIO_IEC958CODEC: Format = _
pub const AUDIO_BITORDER: Format = _
pub const AUDIO_INTERLEAVE: Format = _
pub const _START_VIDEO: Format = _
pub const VIDEO_FORMAT: Format = _
pub const VIDEO_MODIFIER: Format = _
pub const VIDEO_SIZE: Format = _
pub const VIDEO_FRAMERATE: Format = _
pub const VIDEO_MAX_FRAMERATE: Format = _
pub const VIDEO_VIEWS: Format = _
pub const VIDEO_INTERLACE_MODE: Format = _
pub const VIDEO_PIXEL_ASPECT_RATIO: Format = _
pub const VIDEO_MULTIVIEW_MODE: Format = _
pub const VIDEO_MULTIVIEW_FLAGS: Format = _
pub const VIDEO_CHROMA_SITE: Format = _
pub const VIDEO_COLOR_RANGE: Format = _
pub const VIDEO_COLOR_MATRIX: Format = _
pub const VIDEO_TRANSFER_FUNCTION: Format = _
pub const VIDEO_COLOR_PRIMARIES: Format = _
pub const VIDEO_PROFILE: Format = _
pub const VIDEO_LEVEL: Format = _
pub const VIDEO_H264_STREAM_FORMAT: Format = _
pub const VIDEO_H264_ALIGNMENT: Format = _
pub const _START_IMAGE: Format = _
pub const _START_BINARY: Format = _
pub const _START_STREAM: Format = _
pub const _START_APPLICATION: Format = _
Trait Implementations§
source§impl From<Format> for spa_format
impl From<Format> for spa_format
source§impl From<u32> for Format
impl From<u32> for Format
source§fn from(value: spa_format) -> Self
fn from(value: spa_format) -> Self
Converts to this type from the input type.
source§impl PartialEq<Format> for Format
impl PartialEq<Format> for Format
source§impl RawWrapper for Format
impl RawWrapper for Format
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 Format
impl Eq for Format
impl StructuralEq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
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