Struct sdl2_sys::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 moresourceimpl Debug for XCharStruct
impl Debug for XCharStruct
impl Copy 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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