pub struct Registry(/* private fields */);
Implementations§
Source§impl Registry
impl Registry
pub fn as_raw(&self) -> &pw_registry
pub fn as_raw_ptr(&self) -> *mut pw_registry
pub fn add_listener_local(&self) -> ListenerLocalBuilder<'_>
pub fn bind<T: ProxyT, P: AsRef<DictRef>>( &self, object: &GlobalObject<P>, ) -> Result<T, Error>
Sourcepub fn destroy_global(&self, global_id: u32) -> SpaResult
pub fn destroy_global(&self, global_id: u32) -> SpaResult
Attempt to destroy the global object with the specified id on the remote.
Trait Implementations§
Source§impl<'c> AsRef<Registry> for RegistryBox<'c>
impl<'c> AsRef<Registry> for RegistryBox<'c>
Auto Trait Implementations§
impl Freeze for Registry
impl RefUnwindSafe for Registry
impl Send for Registry
impl Sync for Registry
impl Unpin for Registry
impl UnwindSafe for Registry
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