Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MaxVerevkin/wayrs
/ functions
Functions
258 in github.com/MaxVerevkin/wayrs
⨍
Functions
258
◇
Types & classes
99
↓ 1 callers
Method
into_wl_buffer
(self)
wayrs-utils/src/shm_alloc.rs:138
↓ 1 callers
Method
is_clone
(&self)
wayrs-scanner/src/lib.rs:847
↓ 1 callers
Method
is_copy
(&self)
wayrs-scanner/src/lib.rs:861
↓ 1 callers
Method
is_format_supported
(&self, fourcc: Fourcc)
wayrs-egl/src/gbm.rs:69
↓ 1 callers
Method
is_format_supported
(&self, fourcc: Fourcc, modifier: u64)
wayrs-egl/src/egl.rs:161
↓ 1 callers
Method
is_full
(&self)
wayrs-core/src/ring_buffer.rs:42
↓ 1 callers
Method
keyboard_added
Keyboard capability was added.
wayrs-utils/src/seats.rs:80
↓ 1 callers
Method
last
()
wayrs-egl/src/errors.rs:111
↓ 1 callers
Method
leave_surface
(&mut self, _: &mut Connection<Self>, _: WlKeyboard, _: LeaveArgs)
wayrs-utils/src/keyboard.rs:29
↓ 1 callers
Method
linux_dmabuf
(&self)
wayrs-egl/src/egl.rs:131
↓ 1 callers
Method
main_device
(&self)
wayrs-utils/src/dmabuf_feedback.rs:88
↓ 1 callers
Method
make_current
Make this context current on the current therad. The context is [surfaceless][1], that is, it does not have a default framebuffer. You need to create
wayrs-egl/src/egl.rs:369
↓ 1 callers
Function
next_chr
(s: &str)
wayrs-scanner/src/mini_syn.rs:90
↓ 1 callers
Method
parse_enum
(&mut self, tag: BytesStart<'a>)
wayrs-proto-parser/src/parser.rs:199
↓ 1 callers
Method
parse_interface
(&mut self, tag: BytesStart<'a>)
wayrs-proto-parser/src/parser.rs:108
↓ 1 callers
Function
parse_lit_str_cooked
Taken from <https://docs.rs/syn/2.0.98/src/syn/lit.rs.html> with slight modifications.
wayrs-scanner/src/mini_syn.rs:3
↓ 1 callers
Function
parse_protocol
(text: &str)
wayrs-proto-parser/src/lib.rs:9
↓ 1 callers
Method
parse_protocol
(&mut self, tag: BytesStart<'a>)
wayrs-proto-parser/src/parser.rs:76
↓ 1 callers
Method
peek_message_header
Peek the next message header. Fills the internal buffer if needed and keeps the header in the buffer.
wayrs-core/src/transport.rs:185
↓ 1 callers
Method
pointer_added
Pointer capability was added.
wayrs-utils/src/seats.rs:74
↓ 1 callers
Method
pollable_fd
(&self)
wayrs-core/src/transport/unix.rs:14
↓ 1 callers
Method
recv
( &mut self, bytes: &mut [IoSliceMut], fds: &mut VecDeque<OwnedFd>, mode: IoMo
wayrs-core/src/transport/unix.rs:60
↓ 1 callers
Method
recv_array
(&mut self)
wayrs-core/src/transport.rs:321
↓ 1 callers
Method
recv_message
Receive the entire next message. Fills the internal buffer if needed. `header` must be the value returned by [`Self::peek_message_header`] right befo
wayrs-core/src/transport.rs:206
↓ 1 callers
Method
register_server_object
(&mut self, object: Object)
wayrs-client/src/object.rs:213
↓ 1 callers
Method
render
( &mut self, conn: &mut Connection<State>, width: u32, height: u32, ti
wayrs-egl/examples/triangle.rs:165
↓ 1 callers
Method
render_node
(&self)
wayrs-egl/src/drm.rs:31
↓ 1 callers
Method
reuse_args
(&mut self, mut buf: Vec<ArgValue>)
wayrs-core/src/lib.rs:244
↓ 1 callers
Method
seat_added
A new seat is added.
wayrs-utils/src/seats.rs:65
↓ 1 callers
Method
seat_name
Seat name was advertised.
wayrs-utils/src/seats.rs:71
↓ 1 callers
Method
seat_removed
A seat is removed.
wayrs-utils/src/seats.rs:68
↓ 1 callers
Method
send
(&mut self, bytes: &[IoSlice], fds: &[OwnedFd], mode: IoMode)
wayrs-core/src/transport/unix.rs:18
↓ 1 callers
Method
set_as_gl_renderbuffer_storage
Associate this buffer with a currently bound GL's renderbuffer object. This allows to render directly to this buffer. # Safety This function must b
wayrs-egl/src/buffer.rs:179
↓ 1 callers
Method
set_cursor
Set cursor image. Refer to [`WlPointer::set_cursor`] for more info. `shm` and `scale` are ignored if server-side implementation is used. # Panics
wayrs-utils/src/cursor.rs:191
↓ 1 callers
Function
stringify_cursor_shape
(shape: CursorShape)
wayrs-utils/src/cursor.rs:277
↓ 1 callers
Method
touch_added
Touch capability was added.
wayrs-utils/src/seats.rs:86
↓ 1 callers
Method
tranches
(&self)
wayrs-utils/src/dmabuf_feedback.rs:106
↓ 1 callers
Method
width
(&self)
wayrs-egl/src/buffer.rs:149
↓ 1 callers
Method
wl_buffer
Get a [`WlBuffer`] object which points to this buffer. This function marks the buffer as being in use, i.e. [`is_available`](Self::is_available) will
wayrs-egl/src/buffer.rs:198
↓ 1 callers
Method
writable_len
(&self)
wayrs-core/src/ring_buffer.rs:34
↓ 1 callers
Method
write_int
(&mut self, val: i32)
wayrs-core/src/ring_buffer.rs:126
↓ 1 callers
Method
write_message
Write a single Wayland message into the intevnal buffer. Flushes the buffer if neccessary. On failure, ownership of the message is returned. # Panic
wayrs-core/src/transport.rs:126
Method
alloc
( egl_display: &EglDisplay, conn: &mut Connection<D>, width: u32, height: u32,
wayrs-egl/src/buffer.rs:40
Method
alloc_buffer
Allocate a new buffer
wayrs-egl/src/egl.rs:171
Method
alloc_msg_args
(&mut self)
wayrs-client/src/connection.rs:381
Method
allocate_new_object
(&mut self, version: u32)
wayrs-client/src/connection.rs:684
Method
allocate_new_object_with_cb
( &mut self, version: u32, cb: F, )
wayrs-client/src/connection.rs:696
Method
as_f32
(self)
wayrs-core/src/lib.rs:178
Method
as_int
(self)
wayrs-core/src/lib.rs:183
Function
assert_send
()
wayrs-client/src/connection.rs:728
Method
async_connect_and_collect_globals
()
wayrs-client/src/connection.rs:178
Method
async_recv_events
(&mut self)
wayrs-client/src/connection.rs:555
Method
bind
Bind `wl_shm` and create new [`ShmAlloc`].
wayrs-utils/src/shm_alloc.rs:71
Method
bind
(conn: &mut Connection<D>)
wayrs-utils/src/seats.rs:118
Method
bind
(conn: &mut Connection<State>, global: &GlobalArgs)
wayrs-client/examples/output_watcher.rs:37
Method
borrow
(&self)
wayrs-client/src/object.rs:75
Method
clear_callbacks
(self)
wayrs-client/src/connection.rs:328
Method
clear_callbacks
(self)
wayrs-client/src/object.rs:166
Method
connect
Connect to a Wayland socket and create a registry. From the [Wayland Book](https://wayland-book.com/protocol-design/wire-protocol.html): > To find t
wayrs-client/src/connection.rs:117
Method
connect_and_collect_globals
()
wayrs-client/src/connection.rs:166
Method
connect_with_unix_stream
(stream: UnixStream)
wayrs-client/src/connection.rs:136
Method
created_by_server
(self)
wayrs-core/src/lib.rs:51
Method
debug
(mut self, enable: bool)
wayrs-egl/src/egl.rs:295
Method
destroy
(self, conn: &mut Connection<D>)
wayrs-utils/src/keyboard.rs:95
Method
destroy
(self, conn: &mut Connection<D>)
wayrs-utils/src/dmabuf_feedback.rs:110
Method
destroy
Destroy cursor's surface / cursor shape device. This function does not destroy the pointer.
wayrs-utils/src/cursor.rs:269
Function
dmabuf_feedback_cb
(ctx: EventCtx<D, ZwpLinuxDmabufFeedbackV1>)
wayrs-utils/src/dmabuf_feedback.rs:115
Method
drop
(&mut self)
wayrs-egl/src/gbm.rs:81
Method
drop
(&mut self)
wayrs-egl/src/buffer.rs:219
Method
drop
(&mut self)
wayrs-egl/src/drm.rs:49
Method
drop
(&mut self)
wayrs-egl/src/egl.rs:184
Method
drop
(&mut self)
wayrs-utils/src/shm_alloc.rs:176
Method
duplicate
(&self, conn: &mut Connection<D>)
wayrs-utils/src/shm_alloc.rs:152
Method
eq
(&self, other: &Self)
wayrs-egl/src/drm.rs:57
Method
eq
(&self, other: &Self)
wayrs-core/src/lib.rs:218
Method
eq
(&self, other: &Self)
wayrs-client/src/object.rs:31
Method
extensions
(&self)
wayrs-egl/src/egl.rs:149
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
wayrs-egl/src/errors.rs:20
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
wayrs-egl/src/lib.rs:62
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
wayrs-egl/src/egl.rs:451
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
wayrs-proto-parser/src/parser.rs:26
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
wayrs-core/src/lib.rs:194
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
wayrs-core/src/transport.rs:88
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
wayrs-utils/src/keyboard.rs:202
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
wayrs-utils/src/dmabuf_feedback.rs:186
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
wayrs-utils/src/cursor.rs:41
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
wayrs-client/src/lib.rs:59
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
wayrs-client/src/global.rs:30
Method
fmt
(&self, f: &mut Formatter<'_>)
wayrs-client/src/debug_message.rs:25
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
wayrs-client/src/connection.rs:39
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
wayrs-client/src/object.rs:81
Method
fourcc
(&self)
wayrs-egl/src/buffer.rs:137
Method
from
(value: io::Error)
wayrs-egl/src/errors.rs:37
Method
from
(value: quick_xml::Error)
wayrs-proto-parser/src/parser.rs:39
Method
from
(value: i32)
wayrs-core/src/lib.rs:144
Method
from
(socket: T)
wayrs-core/src/transport.rs:58
Method
from
(value: io::Error)
wayrs-utils/src/cursor.rs:51
Method
from
(value: io::Error)
wayrs-client/src/connection.rs:50
Method
from
(value: P)
wayrs-client/src/object.rs:136
Function
generate
(input: proc_macro::TokenStream)
wayrs-scanner/src/lib.rs:62
← previous
next →
101–200 of 258, ranked by callers