#[repr(C)]pub struct Tk_SmoothMethod {
pub name: *const c_char,
pub coordProc: Option<unsafe extern "C" fn(canvas: Tk_Canvas, pointPtr: *mut f64, numPoints: c_int, numSteps: c_int, xPoints: *mut XPoint, dblPoints: *mut f64) -> c_int>,
pub postscriptProc: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, canvas: Tk_Canvas, coordPtr: *mut f64, numPoints: c_int, numSteps: c_int)>,
}Fields§
§name: *const c_char§coordProc: Option<unsafe extern "C" fn(canvas: Tk_Canvas, pointPtr: *mut f64, numPoints: c_int, numSteps: c_int, xPoints: *mut XPoint, dblPoints: *mut f64) -> c_int>§postscriptProc: Option<unsafe extern "C" fn(interp: *mut Tcl_Interp, canvas: Tk_Canvas, coordPtr: *mut f64, numPoints: c_int, numSteps: c_int)>Trait Implementations§
Source§impl Clone for Tk_SmoothMethod
impl Clone for Tk_SmoothMethod
Source§fn clone(&self) -> Tk_SmoothMethod
fn clone(&self) -> Tk_SmoothMethod
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 moreSource§impl Debug for Tk_SmoothMethod
impl Debug for Tk_SmoothMethod
impl Copy for Tk_SmoothMethod
Auto Trait Implementations§
impl Freeze for Tk_SmoothMethod
impl RefUnwindSafe for Tk_SmoothMethod
impl !Send for Tk_SmoothMethod
impl !Sync for Tk_SmoothMethod
impl Unpin for Tk_SmoothMethod
impl UnwindSafe for Tk_SmoothMethod
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