Struct x11_dl::xlib::XCharStruct
source · #[repr(C)]pub struct XCharStruct {
pub lbearing: c_short,
pub rbearing: c_short,
pub width: c_short,
pub ascent: c_short,
pub descent: c_short,
pub attributes: c_ushort,
}
Fields§
§lbearing: c_short
§rbearing: c_short
§width: c_short
§ascent: c_short
§descent: c_short
§attributes: c_ushort
Trait Implementations§
source§impl Clone for XCharStruct
impl Clone for XCharStruct
source§fn clone(&self) -> XCharStruct
fn clone(&self) -> XCharStruct
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 Debug for XCharStruct
impl Debug for XCharStruct
source§impl PartialEq<XCharStruct> for XCharStruct
impl PartialEq<XCharStruct> for XCharStruct
source§fn eq(&self, other: &XCharStruct) -> bool
fn eq(&self, other: &XCharStruct) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.