MCPcopy Create free account

hub / github.com/MaxVerevkin/wayrs / functions

Functions258 in github.com/MaxVerevkin/wayrs

↓ 42 callersMethoditer
Get an iterator of currently available `wl_seat`s.
wayrs-utils/src/seats.rs:123
↓ 28 callersMethodas_ref
(&self)
wayrs-egl/src/drm.rs:43
↓ 13 callersMethodcontains
(&self, ext: &str)
wayrs-egl/src/egl.rs:436
↓ 10 callersFunctionmake_pascal_case_ident
(name: impl AsRef<str>)
wayrs-scanner/src/lib.rs:102
↓ 8 callersFunctionbyte
(s: &str, idx: usize)
wayrs-scanner/src/mini_syn.rs:134
↓ 8 callersMethodversion
(mut self, major: u32, minor: u32)
wayrs-egl/src/egl.rs:285
↓ 8 callersMethodwrite_uint
(&mut self, val: u32)
wayrs-core/src/ring_buffer.rs:130
↓ 7 callersFunctionmake_ident
(name: impl AsRef<str>)
wayrs-scanner/src/lib.rs:98
↓ 6 callersMethodas_u32
(self)
wayrs-core/src/lib.rs:45
↓ 6 callersMethoddestroy
Release all Wayland resources.
wayrs-utils/src/shm_alloc.rs:118
↓ 6 callersMethodparse
(input: TokenStream)
wayrs-scanner/src/lib.rs:25
↓ 6 callersMethodparse_description
( &mut self, tag: BytesStart<'a>, non_empty_tag: bool, )
wayrs-proto-parser/src/parser.rs:234
↓ 6 callersMethodread_uint
(&mut self)
wayrs-core/src/ring_buffer.rs:140
↓ 5 callersMethodflush
Send the queue of pending request to the server.
wayrs-client/src/connection.rs:569
↓ 5 callersFunctiongen_doc
( desc: Option<&Description>, since: Option<u32>, deprecated_since: Option<u32>, )
wayrs-scanner/src/lib.rs:725
↓ 5 callersFunctiongen_pub_fn
( attrs: &TokenStream, name: &str, generics: &[TokenStream], args: &[TokenStream], ret_ty:
wayrs-scanner/src/lib.rs:503
↓ 5 callersMethodget_object_mut
(&mut self, id: ObjectId)
wayrs-client/src/object.rs:229
↓ 5 callersMethodmove_tail
(&mut self, n: usize)
wayrs-core/src/ring_buffer.rs:25
↓ 5 callersMethodrelease
Releases the current API context. If this context is not current on this thread, `Err(Error::NotCurrentContext)` is returned.
wayrs-egl/src/egl.rs:388
↓ 4 callersMethodas_raw_fd
(&self)
wayrs-core/src/transport.rs:52
↓ 4 callersMethodbind_singleton
Bind a singleton global. Use this function to only bind singleton globals. If more than one global of the requeseted interface is available, the beha
wayrs-client/src/connection.rs:219
↓ 4 callersMethodbind_with_cb
Same as [`bind`](Self::bind) but also sets the callback
wayrs-client/src/global.rs:125
↓ 4 callersMethodblocking_roundtrip
Perform a blocking roundtrip. This function flushes the buffer of pending requests. All received events during the roundtrip are queued.
wayrs-client/src/connection.rs:349
↓ 4 callersMethodis_empty
(&self)
wayrs-core/src/ring_buffer.rs:38
↓ 4 callersFunctionmake_proxy_path
(iface: impl AsRef<str>)
wayrs-scanner/src/lib.rs:111
↓ 4 callersMethodread_bytes
(&mut self, buf: &mut [u8])
wayrs-core/src/ring_buffer.rs:79
↓ 4 callersMethodread_id
(&mut self)
wayrs-core/src/ring_buffer.rs:146
↓ 4 callersMethodrecv_event
(&mut self, mode: IoMode)
wayrs-client/src/connection.rs:409
↓ 4 callersMethodrequire
Returns `Err(Error::ExtensionUnsupported(_))` if a given extension is not supported
wayrs-egl/src/egl.rs:441
↓ 4 callersMethodwrite_bytes
(&mut self, data: &[u8])
wayrs-core/src/ring_buffer.rs:50
↓ 3 callersFunctioncmsg_space
(len: usize)
wayrs-core/src/transport/unix.rs:133
↓ 3 callersMethoddestroy
Destroy this buffer. Not calling this function and just dropping the buffer will leak some resources.
wayrs-egl/src/buffer.rs:208
↓ 3 callersMethoddispatch_events
Empty the queue of pending events, calling a callback (if set) for each event. # Panics This method panics if called from the context of a callback.
wayrs-client/src/connection.rs:617
↓ 3 callersMethodhead
(&self)
wayrs-core/src/ring_buffer.rs:46
↓ 3 callersMethodrecv_events
Receive events from Wayland socket. If `mode` is [`Blocking`](IoMode::Blocking), this function will block the current thread until at least one event
wayrs-client/src/connection.rs:536
↓ 3 callersMethodsend_array
(&mut self, array: &[u8])
wayrs-core/src/transport.rs:311
↓ 3 callersMethodset_callback_for
Set a callback for a given object. # Panics This method panics if current set of objects does not contain an object with id identical to `proxy.id()
wayrs-client/src/connection.rs:301
↓ 2 callersMethodadd_registry_cb
Register a registry event callback. In this library, `wl_registry` is the only object which can have any number of callbacks, which are triggered in
wayrs-client/src/connection.rs:277
↓ 2 callersMethodalloc_buffer
( &self, width: u32, height: u32, fourcc: Fourcc, modifiers: &[u64],
wayrs-egl/src/gbm.rs:32
↓ 2 callersMethodalloc_client_object
( &mut self, interface: &'static Interface, version: u32, )
wayrs-client/src/object.rs:187
↓ 2 callersMethodas_event_ty
(&self, wayrs_client_path: &Ident)
wayrs-scanner/src/lib.rs:817
↓ 2 callersMethodas_raw_fd
(&self)
wayrs-client/src/connection.rs:95
↓ 2 callersFunctionassert_shader_ok
(shader: u32)
wayrs-egl/examples/triangle.rs:424
↓ 2 callersMethodasync_recv_event
(&mut self)
wayrs-client/src/connection.rs:508
↓ 2 callersMethodfill_incoming_buf
(&mut self, mode: IoMode)
wayrs-core/src/transport.rs:297
↓ 2 callersMethodflush
Flush all pending messages.
wayrs-core/src/transport.rs:269
↓ 2 callersMethodget_args
(&mut self)
wayrs-core/src/lib.rs:249
↓ 2 callersMethodglobals
(&self)
wayrs-client/src/connection.rs:203
↓ 2 callersMethodis_available
(&self)
wayrs-egl/src/buffer.rs:161
↓ 2 callersMethodkeyboard_removed
Keyboard capability or seat was removed
wayrs-utils/src/seats.rs:83
↓ 2 callersFunctionmap_arg_to_argval
(arg: &Argument, is_event: bool)
wayrs-scanner/src/lib.rs:701
↓ 2 callersMethodmove_head
(&mut self, n: usize)
wayrs-core/src/ring_buffer.rs:21
↓ 2 callersMethodparse_enum_item
( &mut self, arg: BytesStart<'a>, non_empty_tag: bool, )
wayrs-proto-parser/src/parser.rs:302
↓ 2 callersMethodparse_message
(&mut self, tag: BytesStart<'a>)
wayrs-proto-parser/src/parser.rs:147
↓ 2 callersMethodpeek_bytes
(&mut self, buf: &mut [u8])
wayrs-core/src/ring_buffer.rs:66
↓ 2 callersMethodpointer_removed
Pointer capability or seat was removed
wayrs-utils/src/seats.rs:77
↓ 2 callersMethodread_int
(&mut self)
wayrs-core/src/ring_buffer.rs:134
↓ 2 callersMethodreadable_len
(&self)
wayrs-core/src/ring_buffer.rs:30
↓ 2 callersMethodrecv_string
(&mut self)
wayrs-core/src/transport.rs:343
↓ 2 callersMethodrecv_string_with_len
(&mut self, len: u32)
wayrs-core/src/transport.rs:333
↓ 2 callersMethodregistry
(&self)
wayrs-client/src/connection.rs:192
↓ 2 callersMethodresize
Resize the memmap, at least doubling the size.
wayrs-utils/src/shm_alloc.rs:271
↓ 2 callersMethodsize
(&self)
wayrs-utils/src/shm_alloc.rs:54
↓ 2 callersFunctionsnake_to_pascal
(s: &str)
wayrs-scanner/src/utils.rs:1
↓ 2 callersMethodtouch_removed
Touch capability or seat was removed
wayrs-utils/src/seats.rs:89
↓ 2 callersMethodtry_alloc_in_place
Returns segment index, does not resize
wayrs-utils/src/shm_alloc.rs:282
↓ 1 callersMethodalloc_buffer
Allocate a new buffer. The underlying memory pool will be resized if needed. Previously released buffers are reused whenever possible. See [`WlShmPo
wayrs-utils/src/shm_alloc.rs:90
↓ 1 callersMethodalloc_segment
Returns segment index
wayrs-utils/src/shm_alloc.rs:341
↓ 1 callersMethodas_f64
(self)
wayrs-core/src/lib.rs:173
↓ 1 callersMethodas_raw
(&self)
wayrs-egl/src/gbm.rs:28
↓ 1 callersMethodas_raw
(&self)
wayrs-egl/src/egl.rs:121
↓ 1 callersMethodas_request_fn_arg
(&self, wayrs_client_path: &Ident)
wayrs-scanner/src/lib.rs:770
↓ 1 callersFunctionassert_shader_program_ok
(shader_program: u32)
wayrs-egl/examples/triangle.rs:441
↓ 1 callersMethodasync_flush
(&mut self)
wayrs-client/src/connection.rs:588
↓ 1 callersMethodasync_roundtrip
(&mut self)
wayrs-client/src/connection.rs:366
↓ 1 callersFunctionbackslash_u
(mut s: &str)
wayrs-scanner/src/mini_syn.rs:94
↓ 1 callersFunctionbackslash_x
(s: &str)
wayrs-scanner/src/mini_syn.rs:70
↓ 1 callersMethodbind
Bind the first instance of a global. Works great for singletons. The version argmuent can be a: - Number - require a specific version - Range to incl
wayrs-client/src/global.rs:97
↓ 1 callersMethodbind_singleton_with_cb
Same as [`bind_singleton`](Self::bind_singleton) but also sets the callback
wayrs-client/src/connection.rs:244
↓ 1 callersMethodbreak_dispatch_loop
Call this function from a callback to break the dispatch loop. This will cause [`dispatch_events`](Self::dispatch_events) to return. Events that go a
wayrs-client/src/connection.rs:678
↓ 1 callersMethodbuild
Create a new graphics API context Call [`EglContext::make_current`] to activate the context.
wayrs-egl/src/egl.rs:303
↓ 1 callersMethodcmp
(&self, other: &Self)
wayrs-client/src/object.rs:61
↓ 1 callersMethodcreated_by_client
(self)
wayrs-core/src/lib.rs:57
↓ 1 callersMethoddefragment
(&mut self, conn: &mut Connection<D>)
wayrs-utils/src/shm_alloc.rs:245
↓ 1 callersMethoddelete_client_object
Call it only on client-created objects in response to `wl_display.delete_id`.
wayrs-client/src/object.rs:242
↓ 1 callersMethodenter_surface
(&mut self, _: &mut Connection<Self>, _: WlKeyboard, _: EnterArgs)
wayrs-utils/src/keyboard.rs:27
↓ 1 callersMethodexport
(&self)
wayrs-egl/src/gbm.rs:93
↓ 1 callersMethodfeedback_done
(&mut self, _: &mut Connection<Self>, wl: ZwpLinuxDmabufFeedbackV1)
wayrs-egl/examples/triangle.rs:347
↓ 1 callersMethodformat_table
(&self)
wayrs-utils/src/dmabuf_feedback.rs:93
↓ 1 callersMethodgbm_device
(&self)
wayrs-egl/src/egl.rs:126
↓ 1 callersFunctiongen_interface
(iface: &Interface, wayrs_client_path: &Ident)
wayrs-scanner/src/lib.rs:116
↓ 1 callersFunctiongen_request_fn
(opcode: u16, request: &Message, wayrs_client_path: &Ident)
wayrs-scanner/src/lib.rs:522
↓ 1 callersMethodget_buffer
Get a buffer, reusing free buffers if possible. Returns `Ok(None)` if all buffers are currently in use.
wayrs-egl/src/buffer.rs:248
↓ 1 callersMethodget_dmabuf_feedback
(&mut self, wl: ZwpLinuxDmabufFeedbackV1)
wayrs-egl/examples/triangle.rs:342
↓ 1 callersMethodget_grotocol
(mut self)
wayrs-proto-parser/src/parser.rs:63
↓ 1 callersMethodget_node
(&self, node: c_int)
wayrs-egl/src/drm.rs:35
↓ 1 callersMethodget_readable_iov
( &'a self, iov_buf: &'b mut [IoSlice<'a>; 2], )
wayrs-core/src/ring_buffer.rs:107
↓ 1 callersFunctionget_supported_formats
( dpy: egl_ffi::EGLDisplay, gbm_device: &gbm::Device, qf: egl_ffi::EglQueryDmabufFormatsExtProc,
wayrs-egl/src/egl.rs:201
↓ 1 callersMethodget_writeable_iov
( &'a mut self, iov_buf: &'b mut [IoSliceMut<'a>; 2], )
wayrs-core/src/ring_buffer.rs:84
↓ 1 callersMethodheight
(&self)
wayrs-egl/src/buffer.rs:155
next →1–100 of 258, ranked by callers