pub struct Waybackend {
pub wire_msg_builder: MessageBuilder,
pub wayland_fd: OwnedFd,
}Expand description
This struct holds the message builder and the wayland file descriptor
To create this struct, use the connect() function.
Fields§
§wire_msg_builder: MessageBuilderthe message builder incrementally builds up wire messages
wayland_fd: OwnedFdthe wayland file descriptor. You can pass this to poll to poll events
Implementations§
Auto Trait Implementations§
impl Freeze for Waybackend
impl RefUnwindSafe for Waybackend
impl Send for Waybackend
impl Sync for Waybackend
impl Unpin for Waybackend
impl UnwindSafe for Waybackend
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