Struct x11rb_protocol::protocol::xproto::ListFontsWithInfoRequest
source · [−]Expand description
get matching font names and information.
Gets a list of available font names which match the given pattern
.
Fields
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
sourceimpl<'input> ListFontsWithInfoRequest<'input>
impl<'input> ListFontsWithInfoRequest<'input>
sourcepub fn serialize(self) -> BufWithFds<PiecewiseBuf<'input>>
pub fn serialize(self) -> BufWithFds<PiecewiseBuf<'input>>
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<Self, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &'input [u8]
) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
sourcepub fn into_owned(self) -> ListFontsWithInfoRequest<'static>
pub fn into_owned(self) -> ListFontsWithInfoRequest<'static>
Clone all borrowed data in this ListFontsWithInfoRequest.
Trait Implementations
sourceimpl<'input> Clone for ListFontsWithInfoRequest<'input>
impl<'input> Clone for ListFontsWithInfoRequest<'input>
sourcefn clone(&self) -> ListFontsWithInfoRequest<'input>
fn clone(&self) -> ListFontsWithInfoRequest<'input>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'input> Debug for ListFontsWithInfoRequest<'input>
impl<'input> Debug for ListFontsWithInfoRequest<'input>
sourceimpl<'input> Default for ListFontsWithInfoRequest<'input>
impl<'input> Default for ListFontsWithInfoRequest<'input>
sourcefn default() -> ListFontsWithInfoRequest<'input>
fn default() -> ListFontsWithInfoRequest<'input>
Returns the “default value” for a type. Read more
sourceimpl<'input> Hash for ListFontsWithInfoRequest<'input>
impl<'input> Hash for ListFontsWithInfoRequest<'input>
sourceimpl<'input> Ord for ListFontsWithInfoRequest<'input>
impl<'input> Ord for ListFontsWithInfoRequest<'input>
sourceimpl<'input> PartialEq<ListFontsWithInfoRequest<'input>> for ListFontsWithInfoRequest<'input>
impl<'input> PartialEq<ListFontsWithInfoRequest<'input>> for ListFontsWithInfoRequest<'input>
sourcefn eq(&self, other: &ListFontsWithInfoRequest<'input>) -> bool
fn eq(&self, other: &ListFontsWithInfoRequest<'input>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListFontsWithInfoRequest<'input>) -> bool
fn ne(&self, other: &ListFontsWithInfoRequest<'input>) -> bool
This method tests for !=
.
sourceimpl<'input> PartialOrd<ListFontsWithInfoRequest<'input>> for ListFontsWithInfoRequest<'input>
impl<'input> PartialOrd<ListFontsWithInfoRequest<'input>> for ListFontsWithInfoRequest<'input>
sourcefn partial_cmp(
&self,
other: &ListFontsWithInfoRequest<'input>
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &ListFontsWithInfoRequest<'input>
) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'input> ReplyRequest for ListFontsWithInfoRequest<'input>
impl<'input> ReplyRequest for ListFontsWithInfoRequest<'input>
type Reply = ListFontsWithInfoReply
type Reply = ListFontsWithInfoReply
The kind of reply that this request generates.
sourceimpl<'input> Request for ListFontsWithInfoRequest<'input>
impl<'input> Request for ListFontsWithInfoRequest<'input>
impl<'input> Eq for ListFontsWithInfoRequest<'input>
impl<'input> StructuralEq for ListFontsWithInfoRequest<'input>
impl<'input> StructuralPartialEq for ListFontsWithInfoRequest<'input>
Auto Trait Implementations
impl<'input> RefUnwindSafe for ListFontsWithInfoRequest<'input>
impl<'input> Send for ListFontsWithInfoRequest<'input>
impl<'input> Sync for ListFontsWithInfoRequest<'input>
impl<'input> Unpin for ListFontsWithInfoRequest<'input>
impl<'input> UnwindSafe for ListFontsWithInfoRequest<'input>
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