#[repr(C)]pub struct Tk_ElementSpec {
pub version: c_int,
pub name: *mut c_char,
pub options: *mut Tk_ElementOptionSpec,
pub getSize: Tk_GetElementSizeProc,
pub getBox: Tk_GetElementBoxProc,
pub getBorderWidth: Tk_GetElementBorderWidthProc,
pub draw: Tk_DrawElementProc,
}Fields§
§version: c_int§name: *mut c_char§options: *mut Tk_ElementOptionSpec§getSize: Tk_GetElementSizeProc§getBox: Tk_GetElementBoxProc§getBorderWidth: Tk_GetElementBorderWidthProc§draw: Tk_DrawElementProcTrait Implementations§
Source§impl Clone for Tk_ElementSpec
impl Clone for Tk_ElementSpec
Source§fn clone(&self) -> Tk_ElementSpec
fn clone(&self) -> Tk_ElementSpec
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 Tk_ElementSpec
Auto Trait Implementations§
impl Freeze for Tk_ElementSpec
impl RefUnwindSafe for Tk_ElementSpec
impl !Send for Tk_ElementSpec
impl !Sync for Tk_ElementSpec
impl Unpin for Tk_ElementSpec
impl UnwindSafe for Tk_ElementSpec
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