Struct gdk_x11_sys::xlib::XCharStruct
[−]#[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
impl Clone for XCharStruct
impl Clone for XCharStruct
fn 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
impl Debug for XCharStruct
impl Debug for XCharStruct
impl PartialEq<XCharStruct> for XCharStruct
impl PartialEq<XCharStruct> for XCharStruct
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 ==
. Read more
fn ne(&self, other: &XCharStruct) -> bool
fn ne(&self, other: &XCharStruct) -> bool
This method tests for !=
.
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more