Struct pipewire_wrapper::spa::type_::NodeCommand
source · #[repr(transparent)]pub struct NodeCommand { /* private fields */ }
Implementations§
source§impl NodeCommand
impl NodeCommand
pub const SUSPEND: NodeCommand = _
pub const PAUSE: NodeCommand = _
pub const START: NodeCommand = _
pub const ENABLE: NodeCommand = _
pub const DISABLE: NodeCommand = _
pub const FLUSH: NodeCommand = _
pub const DRAIN: NodeCommand = _
pub const MARKER: NodeCommand = _
pub const PARAM_BEGIN: NodeCommand = _
pub const PARAM_END: NodeCommand = _
pub const REQUEST_PROCESS: NodeCommand = _
Trait Implementations§
source§impl Clone for NodeCommand
impl Clone for NodeCommand
source§fn clone(&self) -> NodeCommand
fn clone(&self) -> NodeCommand
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 NodeCommand
impl Debug for NodeCommand
source§impl From<NodeCommand> for spa_node_command
impl From<NodeCommand> for spa_node_command
source§fn from(value: NodeCommand) -> Self
fn from(value: NodeCommand) -> Self
Converts to this type from the input type.
source§impl From<u32> for NodeCommand
impl From<u32> for NodeCommand
source§fn from(value: spa_node_command) -> Self
fn from(value: spa_node_command) -> Self
Converts to this type from the input type.
source§impl PartialEq<NodeCommand> for NodeCommand
impl PartialEq<NodeCommand> for NodeCommand
source§fn eq(&self, other: &NodeCommand) -> bool
fn eq(&self, other: &NodeCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RawWrapper for NodeCommand
impl RawWrapper for NodeCommand
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 NodeCommand
impl Eq for NodeCommand
impl StructuralEq for NodeCommand
impl StructuralPartialEq for NodeCommand
Auto Trait Implementations§
impl RefUnwindSafe for NodeCommand
impl Send for NodeCommand
impl Sync for NodeCommand
impl Unpin for NodeCommand
impl UnwindSafe for NodeCommand
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