Struct xcb::x::QueryFontReply
source · pub struct QueryFontReply { /* private fields */ }
Implementations§
source§impl QueryFontReply
impl QueryFontReply
pub fn response_type(&self) -> u8
pub fn sequence(&self) -> u16
pub fn length(&self) -> u32
sourcepub fn min_bounds(&self) -> Charinfo
pub fn min_bounds(&self) -> Charinfo
minimum bounds over all existing char
sourcepub fn max_bounds(&self) -> Charinfo
pub fn max_bounds(&self) -> Charinfo
maximum bounds over all existing char
sourcepub fn min_char_or_byte2(&self) -> u16
pub fn min_char_or_byte2(&self) -> u16
first character
sourcepub fn max_char_or_byte2(&self) -> u16
pub fn max_char_or_byte2(&self) -> u16
last character
sourcepub fn default_char(&self) -> u16
pub fn default_char(&self) -> u16
char to print for undefined character
sourcepub fn draw_direction(&self) -> FontDraw
pub fn draw_direction(&self) -> FontDraw
pub fn min_byte1(&self) -> u8
pub fn max_byte1(&self) -> u8
sourcepub fn all_chars_exist(&self) -> bool
pub fn all_chars_exist(&self) -> bool
flag if all characters have nonzero size
sourcepub fn font_ascent(&self) -> i16
pub fn font_ascent(&self) -> i16
baseline to top edge of raster
sourcepub fn font_descent(&self) -> i16
pub fn font_descent(&self) -> i16
baseline to bottom edge of raster
pub fn properties(&self) -> &[Fontprop]
pub fn char_infos(&self) -> &[Charinfo]
Trait Implementations§
source§impl Debug for QueryFontReply
impl Debug for QueryFontReply
source§impl Drop for QueryFontReply
impl Drop for QueryFontReply
source§impl Reply for QueryFontReply
impl Reply for QueryFontReply
impl Send for QueryFontReply
impl Sync for QueryFontReply
Auto Trait Implementations§
impl Freeze for QueryFontReply
impl RefUnwindSafe for QueryFontReply
impl Unpin for QueryFontReply
impl UnwindSafe for QueryFontReply
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