Struct x11::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
sourceimpl Clone for XCharStruct
impl Clone for XCharStruct
sourcefn clone(&self) -> XCharStruct
fn clone(&self) -> XCharStruct
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for XCharStruct
impl Debug for XCharStruct
sourceimpl PartialEq<XCharStruct> for XCharStruct
impl PartialEq<XCharStruct> for XCharStruct
sourcefn 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 ==
. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more