Function wayland_server::resource_is_registered [] [src]

pub fn resource_is_registered<R, ID>(
    resource: &R,
    implementation: &R::Implementation
) -> bool where
    R: Resource + Implementable<ID>, 

Checks if a resource is registered with a given implementation on an event loop

Returns false if the resource is dead, even if it was registered with this implementation while alive.