Struct classicube_sys::LTableColumn
source · #[repr(C)]pub struct LTableColumn {
pub name: *const c_char,
pub width: c_int,
pub DrawRow: Option<unsafe extern "C" fn(row: *mut ServerInfo, args: *mut DrawTextArgs, cell: *mut LTableCell, ctx: *mut Context2D)>,
pub SortOrder: Option<unsafe extern "C" fn(a: *const ServerInfo, b: *const ServerInfo) -> c_int>,
pub hasGridline: cc_bool,
pub draggable: cc_bool,
pub sortable: cc_bool,
pub invertSort: cc_bool,
}
Fields§
§name: *const c_char
§width: c_int
§DrawRow: Option<unsafe extern "C" fn(row: *mut ServerInfo, args: *mut DrawTextArgs, cell: *mut LTableCell, ctx: *mut Context2D)>
§SortOrder: Option<unsafe extern "C" fn(a: *const ServerInfo, b: *const ServerInfo) -> c_int>
§hasGridline: cc_bool
§draggable: cc_bool
§sortable: cc_bool
§invertSort: cc_bool
Trait Implementations§
source§impl Clone for LTableColumn
impl Clone for LTableColumn
source§fn clone(&self) -> LTableColumn
fn clone(&self) -> LTableColumn
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 LTableColumn
impl Debug for LTableColumn
source§impl Hash for LTableColumn
impl Hash for LTableColumn
source§impl PartialEq for LTableColumn
impl PartialEq for LTableColumn
source§fn eq(&self, other: <ableColumn) -> bool
fn eq(&self, other: <ableColumn) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LTableColumn
impl Eq for LTableColumn
impl StructuralPartialEq for LTableColumn
Auto Trait Implementations§
impl Freeze for LTableColumn
impl RefUnwindSafe for LTableColumn
impl !Send for LTableColumn
impl !Sync for LTableColumn
impl Unpin for LTableColumn
impl UnwindSafe for LTableColumn
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
)