Struct pipewire_wrapper::spa::type_::Type
source · #[repr(transparent)]pub struct Type { /* private fields */ }
Implementations§
source§impl Type
impl Type
pub const _START: Type = _
pub const NONE: Type = _
pub const BOOL: Type = _
pub const ID: Type = _
pub const INT: Type = _
pub const LONG: Type = _
pub const FLOAT: Type = _
pub const DOUBLE: Type = _
pub const STRING: Type = _
pub const BYTES: Type = _
pub const RECTANGLE: Type = _
pub const FRACTION: Type = _
pub const BITMAP: Type = _
pub const ARRAY: Type = _
pub const STRUCT: Type = _
pub const OBJECT: Type = _
pub const SEQUENCE: Type = _
pub const POINTER: Type = _
pub const FD: Type = _
pub const CHOICE: Type = _
pub const POD: Type = _
pub const _LAST: Type = _
pub const _POINTER_START: Type = _
pub const POINTER_BUFFER: Type = _
pub const POINTER_META: Type = _
pub const POINTER_DICT: Type = _
pub const _POINTER_LAST: Type = _
pub const _EVENT_START: Type = _
pub const EVENT_DEVICE: Type = _
pub const EVENT_NODE: Type = _
pub const _EVENT_LAST: Type = _
pub const _COMMAND_START: Type = _
pub const COMMAND_DEVICE: Type = _
pub const COMMAND_NODE: Type = _
pub const _COMMAND_LAST: Type = _
pub const _OBJECT_START: Type = _
pub const OBJECT_PROP_INFO: Type = _
pub const OBJECT_PROPS: Type = _
pub const OBJECT_FORMAT: Type = _
pub const OBJECT_PARAM_BUFFERS: Type = _
pub const OBJECT_PARAM_META: Type = _
pub const OBJECT_PARAM_IO: Type = _
pub const OBJECT_PARAM_PROFILE: Type = _
pub const OBJECT_PARAM_PORT_CONFIG: Type = _
pub const OBJECT_PARAM_ROUTE: Type = _
pub const OBJECT_PROFILER: Type = _
pub const OBJECT_PARAM_LATENCY: Type = _
pub const OBJECT_PARAM_PROCESS_LATENCY: Type = _
pub const _OBJECT_LAST: Type = _
pub const VENDOR_PIPEWIRE: Type = _
pub const VENDOR_OTHER: Type = _
Trait Implementations§
source§impl From<Type> for _bindgen_ty_10
impl From<Type> for _bindgen_ty_10
source§impl From<u32> for Type
impl From<u32> for Type
source§fn from(value: _bindgen_ty_10) -> Self
fn from(value: _bindgen_ty_10) -> Self
Converts to this type from the input type.
source§impl PartialEq<Type> for Type
impl PartialEq<Type> for Type
source§impl RawWrapper for Type
impl RawWrapper for Type
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 Type
impl Eq for Type
impl StructuralEq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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