#[repr(C)]pub struct usershape_s {Show 16 fields
pub link: Dtlink_t,
pub name: *const c_char,
pub macro_id: c_int,
pub must_inline: boolean,
pub nocache: boolean,
pub f: *mut FILE,
pub type_: imagetype_t,
pub stringtype: *mut c_char,
pub x: c_int,
pub y: c_int,
pub w: c_int,
pub h: c_int,
pub dpi: c_int,
pub data: *mut c_void,
pub datasize: usize,
pub datafree: Option<unsafe extern "C" fn(us: *mut usershape_t)>,
}Fields§
§link: Dtlink_t§name: *const c_char§macro_id: c_int§must_inline: boolean§nocache: boolean§f: *mut FILE§type_: imagetype_t§stringtype: *mut c_char§x: c_int§y: c_int§w: c_int§h: c_int§dpi: c_int§data: *mut c_void§datasize: usize§datafree: Option<unsafe extern "C" fn(us: *mut usershape_t)>Trait Implementations§
Source§impl Clone for usershape_s
impl Clone for usershape_s
Source§fn clone(&self) -> usershape_s
fn clone(&self) -> usershape_s
Returns a duplicate 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 usershape_s
Auto Trait Implementations§
impl Freeze for usershape_s
impl RefUnwindSafe for usershape_s
impl !Send for usershape_s
impl !Sync for usershape_s
impl Unpin for usershape_s
impl UnwindSafe for usershape_s
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