Struct xcb::x::ListFontsWithInfo
source · 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: 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> 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
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
)