pub struct WlDisplay { /* private fields */ }Expand description
An owned wl_display proxy.
See the documentation of the module for the interface description.
Implementations§
Source§impl WlDisplay
impl WlDisplay
Source§impl WlDisplay
impl WlDisplay
Sourcepub const REQ__SYNC__SINCE: u32 = 1u32
pub const REQ__SYNC__SINCE: u32 = 1u32
Since when the sync request is available.
Sourcepub const REQ__GET_REGISTRY__SINCE: u32 = 1u32
pub const REQ__GET_REGISTRY__SINCE: u32 = 1u32
Since when the get_registry request is available.
pub fn sync(&self) -> WlCallback
pub fn get_registry(&self) -> WlRegistry
Source§impl WlDisplay
impl WlDisplay
Sourcepub const EVT__ERROR__SINCE: u32 = 1u32
pub const EVT__ERROR__SINCE: u32 = 1u32
Since when the error event is available.
Sourcepub const EVT__DELETE_ID__SINCE: u32 = 1u32
pub const EVT__DELETE_ID__SINCE: u32 = 1u32
Since when the delete_id event is available.
Methods from Deref<Target = WlDisplayRef>§
Sourcepub fn sync(&self, _queue: &Queue) -> WlCallback
pub fn sync(&self, _queue: &Queue) -> WlCallback
§Arguments
_queue: The queue that the returned proxy is assigned to.
Sourcepub fn get_registry(&self, _queue: &Queue) -> WlRegistry
pub fn get_registry(&self, _queue: &Queue) -> WlRegistry
§Arguments
_queue: The queue that the returned proxy is assigned to.
Trait Implementations§
Source§impl OwnedProxy for WlDisplay
impl OwnedProxy for WlDisplay
Source§const WL_INTERFACE: &'static wl_interface
const WL_INTERFACE: &'static wl_interface
The libwayland interface specification.
Source§const NO_OP_EVENT_HANDLER: Self::NoOpEventHandler
const NO_OP_EVENT_HANDLER: Self::NoOpEventHandler
An event handler that ignores all events without leaking memory.
Source§const MAX_VERSION: u32 = 1u32
const MAX_VERSION: u32 = 1u32
The maximum protocol version supported by this type.
Source§type Borrowed = WlDisplayRef
type Borrowed = WlDisplayRef
The borrowed version of this proxy.
Source§type Api = ProxyApi
type Api = ProxyApi
A type used to implement some technical operations on the proxy. Read more
Source§type NoOpEventHandler = EventHandler<NoOpEventHandler>
type NoOpEventHandler = EventHandler<NoOpEventHandler>
An event handler that ignores all events without leaking memory.
Source§impl PartialEq<WlDisplay> for WlDisplayRef
impl PartialEq<WlDisplay> for WlDisplayRef
Source§impl PartialEq<WlDisplayRef> for WlDisplay
impl PartialEq<WlDisplayRef> for WlDisplay
impl Eq for WlDisplay
impl StructuralPartialEq for WlDisplay
impl UntypedOwnedProxyWrapper for WlDisplay
Auto Trait Implementations§
impl Freeze for WlDisplay
impl !RefUnwindSafe for WlDisplay
impl Send for WlDisplay
impl Sync for WlDisplay
impl Unpin for WlDisplay
impl !UnwindSafe for WlDisplay
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