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 for XCharStruct
impl PartialEq 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 ==
.impl Copy for XCharStruct
impl StructuralPartialEq for XCharStruct
Auto Trait Implementations§
impl RefUnwindSafe for XCharStruct
impl Send for XCharStruct
impl Sync for XCharStruct
impl Unpin for XCharStruct
impl UnwindSafe for XCharStruct
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