#[repr(C)]pub struct textspan_t {
pub str_: *mut c_char,
pub font: *mut textfont_t,
pub layout: *mut c_void,
pub free_layout: Option<unsafe extern "C" fn(layout: *mut c_void)>,
pub yoffset_layout: f64,
pub yoffset_centerline: f64,
pub size: pointf,
pub just: c_char,
}
Fields§
§str_: *mut c_char
§font: *mut textfont_t
§layout: *mut c_void
§free_layout: Option<unsafe extern "C" fn(layout: *mut c_void)>
§yoffset_layout: f64
§yoffset_centerline: f64
§size: pointf
§just: c_char
Trait Implementations§
Source§impl Clone for textspan_t
impl Clone for textspan_t
Source§fn clone(&self) -> textspan_t
fn clone(&self) -> textspan_t
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 textspan_t
impl Debug for textspan_t
impl Copy for textspan_t
Auto Trait Implementations§
impl Freeze for textspan_t
impl RefUnwindSafe for textspan_t
impl !Send for textspan_t
impl !Sync for textspan_t
impl Unpin for textspan_t
impl UnwindSafe for textspan_t
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