Struct redwm::imports::QueryFontRequest [−][src]
pub struct QueryFontRequest { pub font: u32, }
Expand description
query font metrics.
Queries information associated with the font.
Fields
font
- The fontable (Font or Graphics Context) to query.
Fields
font: u32
Implementations
pub fn send<Conn>(
self,
conn: &Conn
) -> Result<Cookie<'_, Conn, QueryFontReply>, ConnectionError> where
Conn: RequestConnection + ?Sized,
pub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<QueryFontRequest, ParseError>
pub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<QueryFontRequest, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Reply = QueryFontReply
type Reply = QueryFontReply
The kind of reply that this request generates.
Auto Trait Implementations
impl RefUnwindSafe for QueryFontRequest
impl Send for QueryFontRequest
impl Sync for QueryFontRequest
impl Unpin for QueryFontRequest
impl UnwindSafe for QueryFontRequest
Blanket Implementations
Mutably borrows from an owned value. Read more