Struct redwm::imports::ListFontsRequest [−][src]
Expand description
get matching font names.
Gets a list of available font names which match the given pattern
.
Fields
pattern_len
- The length (in bytes) ofpattern
.pattern
- A font pattern, for example “-misc-fixed-*”.
The asterisk (*) is a wildcard for any number of characters. The question mark (?) is a wildcard for a single character. Use of uppercase or lowercase does not matter.
max_names
- The maximum number of fonts to be returned.
Fields
max_names: u16
pattern: Cow<'input, [u8]>
Implementations
pub fn send<Conn>(
self,
conn: &Conn
) -> Result<Cookie<'_, Conn, ListFontsReply>, ConnectionError> where
Conn: RequestConnection + ?Sized,
pub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<ListFontsRequest<'input>, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<ListFontsRequest<'input>, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Clone all borrowed data in this ListFontsRequest.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Reply = ListFontsReply
type Reply = ListFontsReply
The kind of reply that this request generates.
Auto Trait Implementations
impl<'input> RefUnwindSafe for ListFontsRequest<'input>
impl<'input> Send for ListFontsRequest<'input>
impl<'input> Sync for ListFontsRequest<'input>
impl<'input> Unpin for ListFontsRequest<'input>
impl<'input> UnwindSafe for ListFontsRequest<'input>
Blanket Implementations
Mutably borrows from an owned value. Read more