Expand description
get matching font names
Gets a list of available font names which match the given pattern
.
This request replies ListFontsReply.
Associated cookie types are ListFontsCookie and ListFontsCookieUnchecked.
Fields
max_names: u16
The 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
sourceimpl<'a> RawRequest for ListFonts<'a>
impl<'a> RawRequest for ListFonts<'a>
sourcefn 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
sourceimpl<'a> Request for ListFonts<'a>
impl<'a> Request for ListFonts<'a>
type Cookie = ListFontsCookie
type Cookie = ListFontsCookie
The default cookie associated to this request.
sourceimpl<'a> RequestWithReply for ListFonts<'a>
impl<'a> RequestWithReply for ListFonts<'a>
type Reply = ListFontsReply
type Reply = ListFontsReply
Reply associated with the request
type Cookie = ListFontsCookie
type Cookie = ListFontsCookie
Default cookie type for the request, as returned by Connection::send_request.
type CookieUnchecked = ListFontsCookieUnchecked
type CookieUnchecked = ListFontsCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ListFonts<'a>
impl<'a> Send for ListFonts<'a>
impl<'a> Sync for ListFonts<'a>
impl<'a> Unpin for ListFonts<'a>
impl<'a> UnwindSafe for ListFonts<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more