Struct classicube_sys::SimpleButtonDesc
source · #[repr(C)]pub struct SimpleButtonDesc {
pub x: c_short,
pub y: c_short,
pub title: *const c_char,
pub onClick: Widget_LeftClick,
}
Fields§
§x: c_short
§y: c_short
§title: *const c_char
§onClick: Widget_LeftClick
Trait Implementations§
source§impl Clone for SimpleButtonDesc
impl Clone for SimpleButtonDesc
source§fn clone(&self) -> SimpleButtonDesc
fn clone(&self) -> SimpleButtonDesc
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 SimpleButtonDesc
impl Debug for SimpleButtonDesc
source§impl Hash for SimpleButtonDesc
impl Hash for SimpleButtonDesc
source§impl PartialEq for SimpleButtonDesc
impl PartialEq for SimpleButtonDesc
source§fn eq(&self, other: &SimpleButtonDesc) -> bool
fn eq(&self, other: &SimpleButtonDesc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SimpleButtonDesc
impl Eq for SimpleButtonDesc
impl StructuralPartialEq for SimpleButtonDesc
Auto Trait Implementations§
impl Freeze for SimpleButtonDesc
impl RefUnwindSafe for SimpleButtonDesc
impl !Send for SimpleButtonDesc
impl !Sync for SimpleButtonDesc
impl Unpin for SimpleButtonDesc
impl UnwindSafe for SimpleButtonDesc
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)