Struct gdk_x11_sys::xlib::XCharStruct
source · #[repr(C)]pub struct XCharStruct {
pub lbearing: i16,
pub rbearing: i16,
pub width: i16,
pub ascent: i16,
pub descent: i16,
pub attributes: u16,
}
Fields§
§lbearing: i16
§rbearing: i16
§width: i16
§ascent: i16
§descent: i16
§attributes: u16
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 ==
.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