MCPcopy Create free account

hub / github.com/bread-graphics/breadx / functions

Functions486 in github.com/bread-graphics/breadx

↓ 139 callersMethodunwrap
Unwrap the `AsyncStatus`, returning the inner value or panicking otherwise. # Panics Panics if the `AsyncStatus` is not `Ready`.
breadx/src/display/mod.rs:358
↓ 57 callersMethodmap
Maps the `AsyncStatus` from one type to another, if the `AsyncStatus` is `Ready`.
breadx/src/display/mod.rs:343
↓ 44 callersMethodget_mut
Get a mutable reference to the underlying connection. ## Example ```rust,no_run use breadx::connection::{Connection, StdConnection}; use std::net::T
breadx/src/connection/std_wrapper.rs:162
↓ 33 callersFunctionfind_attribute
( start: &'a BytesStart, name: &[u8], reader: &mut Reader<B>, )
xcb_parser/src/lib.rs:251
↓ 31 callersMethodname
(&self)
xcb_parser/src/toplevel.rs:52
↓ 29 callersMethodlen
Get the total amount of data.
breadx/src/display/raw_request.rs:228
↓ 28 callersMethodget_ref
Get a reference to the underlying connection. ## Example ```rust,no_run use breadx::connection::{Connection, StdConnection}; use std::net::TcpStream
breadx/src/connection/std_wrapper.rs:142
↓ 25 callersFunctionread_start_event
(reader: &mut Reader<impl BufRead>)
xcb_parser/src/lib.rs:237
↓ 22 callersMethodwait_for_reply
Receive a reply from the server.
breadx/src/display/ext.rs:78
↓ 20 callersMethodpush
(&self, waker: &Waker)
breadx/src/display/sync.rs:143
↓ 17 callersMethoddefault_screen
Get the default screen for this display. This is equivalent to `self.setup().roots[self.default_screen_index()]`.
breadx/src/display/mod.rs:192
↓ 13 callersMethodgenerate_xid
(&mut self)
breadx/src/display/sans_io.rs:123
↓ 12 callersMethodborrow_mut
(&mut self)
breadx/src/connection/sendmsg.rs:79
↓ 12 callersFunctioncvt_point
Convert a floating point into a fixed point.
breadx/examples/xclock.rs:681
↓ 12 callersMethodflush
(&mut self)
breadx/src/name/mod.rs:330
↓ 12 callersFunctionread_text_or_cdata
(reader: &mut Reader<B>)
xcb_parser/src/lib.rs:224
↓ 11 callersMethodclone
(&self)
breadx/src/display/cookie.rs:21
↓ 10 callersMethodcopied
(self)
breadx/src/display/mod.rs:377
↓ 10 callersMethodwith_inner_mut
(&mut self, f: impl FnOnce(&mut Dpy) -> R)
breadx/src/display/sync.rs:81
↓ 9 callersMethodas_ref
(&self)
breadx/src/connection/sendmsg.rs:61
↓ 9 callersFunctioncamel_case_name
Copied from the x11rb generator
breadx-generator/src/items.rs:511
↓ 9 callersMethodis_empty
(&self)
breadx/src/display/raw_request.rs:237
↓ 9 callersMethodsend_request_raw
(&mut self, req: RawRequest<'_, '_>)
breadx/src/display/mod.rs:555
↓ 9 callersMethodtake
(&mut self, f: impl FnOnce(RawRequest<'_, '_>) -> Ret)
breadx/src/display/raw_request.rs:287
↓ 8 callersMethodwith_inner
(&self, f: impl FnOnce(&mut Dpy) -> R)
breadx/src/display/sync.rs:73
↓ 7 callersFunctionconnect
# Panics Panics if `tokio` fails to join the blocking task used to compute authorization details.
breadx/src/rt_support/tokio_support.rs:139
↓ 7 callersFunctionsetup_tracing
()
breadx/src/utils/test.rs:10
↓ 7 callersFunctionwith_test_connection
( read_bytes: &[u8], read_fds: Vec<i32>, test: impl FnOnce(TestConnection<'_>), asserts: impl
breadx/src/connection/test.rs:109
↓ 6 callersMethodfind
Utility function to find an extension that matches a closure.
breadx/src/display/extension_map.rs:54
↓ 6 callersFunctionfrom_reply_request
Create a new `RawRequest` from a `ReplyRequest` type.
breadx/src/display/raw_request.rs:92
↓ 6 callersMethodinto_iter
Get an iterator over the replies of this request.
breadx/src/mutlireply.rs:45
↓ 5 callersMethodadvance
Advance this request by the given number of bytes.
breadx/src/display/raw_request.rs:248
↓ 5 callersMethodas_raw_fd
(&self)
breadx/src/connection/sendmsg.rs:43
↓ 5 callersMethodwait_for_reply_raw
(&mut self, seq: u64)
breadx/src/display/mod.rs:563
↓ 5 callersMethodwith
Run a poison-aware operation on the inner value.
breadx/src/display/poison.rs:16
↓ 5 callersMethodwould_block
Tell if this is a would-block I/O error.
breadx/src/error.rs:187
↓ 4 callersMethodacopied
(self)
breadx/src/utils/mod.rs:44
↓ 4 callersMethodflush
(&mut self)
breadx/src/connection/buffered.rs:526
↓ 4 callersMethodformat
(&mut self, ext_opcode: Option<u8>, max_len: usize)
breadx/src/display/raw_request.rs:172
↓ 4 callersMethodget_if_resolved
Get the target if and only if this prefetch has already resolved.
breadx/src/display/prefetch.rs:78
↓ 4 callersMethodinto_inner
Unwrap this newtype to get the underlying connection. ## Example ```rust,no_run use breadx::connection::{Connection, StdConnection}; use std::net::T
breadx/src/connection/std_wrapper.rs:120
↓ 4 callersMethodinto_reply
(mut self)
breadx/src/display/raw_request.rs:396
↓ 4 callersMethodnext
(&mut self)
breadx/src/mutlireply.rs:87
↓ 4 callersFunctionone
(item: T)
breadx/src/name/nb_connect.rs:180
↓ 4 callersMethodprefetch
( &mut self, display: &mut BasicDisplay<Conn>, prefetch: &'p mut Prefetch<
breadx/src/display/basic.rs:746
↓ 4 callersMethodrelease
(&self)
breadx/src/display/sync.rs:147
↓ 4 callersFunctionspawn_close_thread
Connect to the server and send a close signal to the main window after the given amount of time.
breadx/examples/util/cancel.rs:45
↓ 4 callersFunctionspawn_kill_thread
Spawns the thread that kills the entire program.
breadx/examples/util/cancel.rs:24
↓ 3 callersMethodflush_write_buffer
Flush the `WriteBuffer` to the underlying connection. This will flush the `WriteBuffer` to the underlying connection, and then clear the `WriteBuffer
breadx/src/connection/buffered.rs:212
↓ 3 callersFunctionfrom_reply_fds_request
Create a new `RawRequest` from a `ReplyFDsRequest` type.
breadx/src/display/raw_request.rs:100
↓ 3 callersFunctionfrom_request
( request: R, variant: ReplyFdKind, discard_reply: bool, f: impl FnOnce(RawRequest<'_, '_>) ->
breadx/src/display/raw_request.rs:55
↓ 3 callersFunctionfrom_void_request
Create a new `RawRequest` from a `VoidRequest` type.
breadx/src/display/raw_request.rs:83
↓ 3 callersMethodget
(&self, name: &'static str)
breadx/src/display/extension_map.rs:31
↓ 3 callersFunctionpair
()
breadx/src/connection/std_wrapper.rs:493
↓ 3 callersMethodraw_request
Indicate that the client should send a raw request.
breadx/src/display/tests/sequencing.rs:61
↓ 3 callersMethodreadable_slice
Get the slice of the `ReadBuffer` that has already been read and contains valid information
breadx/src/connection/buffered.rs:539
↓ 3 callersMethodrecv_slice
(&mut self, slice: &mut [u8])
breadx/src/name/mod.rs:326
↓ 3 callersMethodrecv_slice_impl
( &mut self, slice: &mut [u8], fds: Option<&mut Vec<Fd>>, mut read_handler: im
breadx/src/connection/buffered.rs:382
↓ 3 callersMethodrecv_slices_and_fds
( &mut self, slices: &mut [IoSliceMut<'_>], fds: &mut Vec<Fd>, )
breadx/src/connection/buffered.rs:444
↓ 3 callersMethodsend_slice
(&mut self, slice: &[u8])
breadx/src/name/mod.rs:318
↓ 3 callersMethodsequence
(self)
breadx/src/display/cookie.rs:81
↓ 3 callersMethodspare_capacity
Get the spare capacity of the buffer.
breadx/src/connection/buffered.rs:584
↓ 3 callersMethodspawn
Spawns the function on the thread pool, if we haven't already.
breadx/src/utils/unblock.rs:70
↓ 3 callersFunctiontry_io
( mut guard: AsyncFdReadyMutGuard<'_, C>, f: impl FnOnce(&mut C) -> Result<R>, blocked: impl FnOnc
breadx/src/rt_support/tokio_support.rs:257
↓ 3 callersMethodtry_parse_error
(&self, err: Vec<u8>, ext_info: &dyn ExtInfoProvider)
breadx/src/display/sans_io.rs:50
↓ 3 callersMethodwait_for_event
(&mut self)
breadx/src/display/mod.rs:559
↓ 2 callersMethodadvance_write
Indicate that we've read `n` bytes from the connection into the buffer.
breadx/src/connection/buffered.rs:549
↓ 2 callersFunctionalways_available
(name: &str)
breadx-generator/src/main.rs:231
↓ 2 callersMethodas_mut
(&mut self)
breadx/src/connection/sendmsg.rs:67
↓ 2 callersMethodborrow
(&self)
breadx/src/connection/sendmsg.rs:73
↓ 2 callersFunctionbuild_request
(item: &mut impl Write, struct_name: &str, header: &Header, params: &[Parameter])
breadx-generator/src/items.rs:227
↓ 2 callersMethodcannibalize
Destroys this object and returns the inner `Dpy` reference.
breadx/src/futures/try_with.rs:52
↓ 2 callersMethodcapacity
Get the total capacity of the buffer.
breadx/src/connection/buffered.rs:589
↓ 2 callersFunctioncfg_flag
(header: &Header, target: &mut impl Write)
breadx-generator/src/items.rs:465
↓ 2 callersMethodcheck_for_error
Check to see if this sequence number has errored out. Returns `true` if the sequence number is ready. Returns an error if it's errored out.
breadx/src/display/sans_io.rs:89
↓ 2 callersMethodconnect
(self)
breadx/src/name/nb_connect.rs:197
↓ 2 callersFunctionconst_len
(expr: &Expression)
breadx-generator/src/items.rs:503
↓ 2 callersMethodcopy_into_slice
Copy from the read buffer into the given slice.
breadx/src/connection/buffered.rs:310
↓ 2 callersMethodcopy_slice_to_buffer
Copy the slice of data into our write buffer.
breadx/src/connection/buffered.rs:235
↓ 2 callersFunctioncreate_cookie
(item: &mut String, fncall_to_use: &'static str, mode: Mode, immediate_fn: bool)
breadx-generator/src/items.rs:204
↓ 2 callersFunctioncreate_window_mask
Create a new picture to be used as a mask.
breadx/examples/xclock.rs:349
↓ 2 callersFunctioncvt_line
Given a line and a width, create a trapezoid able to represent that line in rendering.
breadx/examples/xclock.rs:649
↓ 2 callersMethodextension
(&self)
breadx/src/display/raw_request.rs:223
↓ 2 callersFunctionf32_to_fixed
Convert a float (`f32`) to an X11 fixed value.
breadx/examples/xclock.rs:689
↓ 2 callersMethodfetch_event
Get the latest event from the server, using the given strategy.
breadx/src/display/basic.rs:261
↓ 2 callersMethodfetch_reply
Get a reply for the given sequence number from the server, using the given strategy.
breadx/src/display/basic.rs:238
↓ 2 callersFunctionfnname
(header: &Header, req: &Request)
breadx-generator/src/items.rs:341
↓ 2 callersFunctiongenerate_item
(header: &Header, item: &ToplevelItem, mode: Mode)
breadx-generator/src/items.rs:21
↓ 2 callersMethodget_address
Get the peer address and family used in this connection. This is useful, since the `xauth` interface requires the family and address to be known.
breadx/src/name/mod.rs:156
↓ 2 callersFunctionhand_triangle
Get a triangle that could be used to represent a hand of a clock.
breadx/examples/xclock.rs:599
↓ 2 callersFunctioninitialization
Indicates that any errors that occur during execution of this function are initialization errors.
breadx/src/error.rs:482
↓ 2 callersMethodmut_parts
(&mut self)
breadx/src/display/raw_request.rs:243
↓ 2 callersFunctionpoll_ready
(a: &Async<D>, interest: Interest, ctx: &mut Context<'_>)
breadx/src/rt_support/async_std_support.rs:116
↓ 2 callersFunctionread_xcb_from_file
(path: P)
xcb_parser/src/lib.rs:103
↓ 2 callersMethodreadable
(&self)
breadx/src/connection/buffered.rs:543
↓ 2 callersMethodrecv_slice
(&mut self, slice: &mut [u8])
breadx/src/connection/mod.rs:304
↓ 2 callersMethodrecv_slices_and_fds
( &mut self, slices: &mut [IoSliceMut<'_>], fds: &mut Vec<Fd>, )
breadx/src/connection/mod.rs:292
↓ 2 callersMethodrecv_slices_and_fds
( &mut self, buffer: &mut [IoSliceMut<'_>], fds: &mut Vec<Fd>, )
breadx/src/connection/test.rs:73
↓ 2 callersMethodrecv_slices_impl
( &mut self, slices: &mut [IoSliceMut<'_>], fds: &mut Vec<Fd>, mut read_handle
breadx/src/connection/buffered.rs:332
↓ 2 callersMethodsend_slices
(&mut self, slices: &[IoSlice<'_>])
breadx/src/connection/mod.rs:284
next →1–100 of 486, ranked by callers