pub struct Command(/* private fields */);Implementations§
Source§impl Command
impl Command
pub fn into_raw(self) -> spa_command
pub fn from_raw(raw: spa_command) -> Self
pub fn as_raw_ptr(&self) -> *mut spa_command
pub fn type_(&self) -> SpaTypes
pub fn id(&self, type_: SpaTypes) -> Result<u32, CommandError>
pub fn init(type_: SpaTypes, id: u32) -> Self
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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