#[repr(C)]pub struct nk_command_custom {
pub header: nk_command,
pub x: c_short,
pub y: c_short,
pub w: c_ushort,
pub h: c_ushort,
pub callback_data: nk_handle,
pub callback: nk_command_custom_callback,
}Fields§
§header: nk_command§x: c_short§y: c_short§w: c_ushort§h: c_ushort§callback_data: nk_handle§callback: nk_command_custom_callbackTrait Implementations§
Source§impl Clone for nk_command_custom
impl Clone for nk_command_custom
Source§fn clone(&self) -> nk_command_custom
fn clone(&self) -> nk_command_custom
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 Default for nk_command_custom
impl Default for nk_command_custom
impl Copy for nk_command_custom
Auto Trait Implementations§
impl Freeze for nk_command_custom
impl RefUnwindSafe for nk_command_custom
impl !Send for nk_command_custom
impl !Sync for nk_command_custom
impl Unpin for nk_command_custom
impl UnwindSafe for nk_command_custom
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