pub struct Component { /* private fields */ }Implementations§
Source§impl Component
impl Component
pub unsafe fn from_raw(raw: AudioComponent) -> Option<Self>
pub fn as_raw(self) -> AudioComponent
pub fn find_next( previous: Option<Component>, description: &AudioComponentDescription, ) -> Option<Component>
pub fn count(description: &AudioComponentDescription) -> u32
pub fn description(self) -> Result<AudioComponentDescription, OSStatus>
pub fn version(self) -> Result<u32, OSStatus>
pub fn instantiate(self) -> Result<ComponentInstance, OSStatus>
Trait Implementations§
impl Copy for Component
impl Eq for Component
impl StructuralPartialEq for Component
Auto Trait Implementations§
impl !RefUnwindSafe for Component
impl !Send for Component
impl !Sync for Component
impl !UnwindSafe for Component
impl Freeze for Component
impl Unpin for Component
impl UnsafeUnpin for Component
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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