pub struct ListFonts<'a> {
pub max_names: u16,
pub pattern: &'a [u8],
}
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§
source§impl<'a> RawRequest for ListFonts<'a>
impl<'a> RawRequest for ListFonts<'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> RequestWithReply for ListFonts<'a>
impl<'a> RequestWithReply for ListFonts<'a>
source§type Reply = ListFontsReply
type Reply = ListFontsReply
Reply associated with the request
source§type Cookie = ListFontsCookie
type Cookie = ListFontsCookie
Default cookie type for the request, as returned by Connection::send_request.
source§type CookieUnchecked = ListFontsCookieUnchecked
type CookieUnchecked = ListFontsCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl<'a> Freeze for ListFonts<'a>
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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)