pub struct OpenFont<'a> {
pub fid: Font,
pub name: &'a [u8],
}
Expand description
opens a font
Opens any X core font matching the given name
(for example “-misc-fixed-*”).
Note that X core fonts are deprecated (but still supported) in favor of client-side rendering using Xft.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields§
§fid: Font
The ID with which you will refer to the font, created by Connection::generate_id.
name: &'a [u8]
A pattern describing an X core font.
Trait Implementations§
source§impl<'a> RawRequest for OpenFont<'a>
impl<'a> RawRequest for OpenFont<'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
impl<'a> RequestWithoutReply for OpenFont<'a>
Auto Trait Implementations§
impl<'a> Freeze for OpenFont<'a>
impl<'a> RefUnwindSafe for OpenFont<'a>
impl<'a> Send for OpenFont<'a>
impl<'a> Sync for OpenFont<'a>
impl<'a> Unpin for OpenFont<'a>
impl<'a> UnwindSafe for OpenFont<'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
)