pub struct ListFontsWithInfo<'a> {
pub max_names: u16,
pub pattern: &'a [u8],
}Expand description
get matching font names and information
Gets a list of available font names which match the given pattern.
This request replies ListFontsWithInfoReply.
Associated cookie types are ListFontsWithInfoCookie and ListFontsWithInfoCookieUnchecked.
Fields§
§max_names: u16The maximum number of fonts to be returned.
pattern: &'a [u8]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.
Trait Implementations§
Source§impl<'a> Clone for ListFontsWithInfo<'a>
impl<'a> Clone for ListFontsWithInfo<'a>
Source§fn clone(&self) -> ListFontsWithInfo<'a>
fn clone(&self) -> ListFontsWithInfo<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ListFontsWithInfo<'a>
impl<'a> Debug for ListFontsWithInfo<'a>
Source§impl<'a> RawRequest for ListFontsWithInfo<'a>
impl<'a> RawRequest for ListFontsWithInfo<'a>
Source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
Source§impl<'a> Request for ListFontsWithInfo<'a>
impl<'a> Request for ListFontsWithInfo<'a>
Source§impl<'a> RequestWithReply for ListFontsWithInfo<'a>
impl<'a> RequestWithReply for ListFontsWithInfo<'a>
Source§type Reply = ListFontsWithInfoReply
type Reply = ListFontsWithInfoReply
Reply associated with the request
Source§type Cookie = ListFontsWithInfoCookie
type Cookie = ListFontsWithInfoCookie
Default cookie type for the request, as returned by Connection::send_request.
Source§type CookieUnchecked = ListFontsWithInfoCookieUnchecked
type CookieUnchecked = ListFontsWithInfoCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl<'a> Freeze for ListFontsWithInfo<'a>
impl<'a> RefUnwindSafe for ListFontsWithInfo<'a>
impl<'a> Send for ListFontsWithInfo<'a>
impl<'a> Sync for ListFontsWithInfo<'a>
impl<'a> Unpin for ListFontsWithInfo<'a>
impl<'a> UnwindSafe for ListFontsWithInfo<'a>
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