Struct wayland_server::ResourceMap [−][src]
pub struct ResourceMap { /* fields omitted */ }A handle to the object map internal to the lib state
This type is only usable by code generated by wayland-scanner, and is
not instanciable directly.
Methods
impl ResourceMap[src]
impl ResourceMappub fn get<I: Interface>(&mut self, id: u32) -> Option<Resource<I>>[src]
pub fn get<I: Interface>(&mut self, id: u32) -> Option<Resource<I>>Retrieve the Resource corresponding to a given id
pub fn get_new<I: Interface>(&mut self, id: u32) -> Option<NewResource<I>>[src]
pub fn get_new<I: Interface>(&mut self, id: u32) -> Option<NewResource<I>>Create a new resource for a given id
Auto Trait Implementations
impl Send for ResourceMap
impl Send for ResourceMapimpl Sync for ResourceMap
impl Sync for ResourceMap