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§
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 moreimpl Copy for XCharStruct
Auto Trait Implementations§
impl Freeze for XCharStruct
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