Struct classicube_sys::ScrollbarWidget
source · #[repr(C)]pub struct ScrollbarWidget {Show 23 fields
pub VTABLE: *const WidgetVTABLE,
pub x: c_int,
pub y: c_int,
pub width: c_int,
pub height: c_int,
pub active: cc_bool,
pub flags: cc_uint8,
pub horAnchor: cc_uint8,
pub verAnchor: cc_uint8,
pub xOffset: c_int,
pub yOffset: c_int,
pub MenuClick: Widget_LeftClick,
pub topRow: c_int,
pub rowsTotal: c_int,
pub rowsVisible: c_int,
pub scrollingAcc: f32,
pub dragOffset: c_int,
pub draggingId: c_int,
pub padding: c_int,
pub borderX: c_int,
pub borderY: c_int,
pub nubsWidth: c_int,
pub offsets: [c_int; 3],
}Fields§
§VTABLE: *const WidgetVTABLE§x: c_int§y: c_int§width: c_int§height: c_int§active: cc_bool§flags: cc_uint8§horAnchor: cc_uint8§verAnchor: cc_uint8§xOffset: c_int§yOffset: c_int§MenuClick: Widget_LeftClick§topRow: c_int§rowsTotal: c_int§rowsVisible: c_int§scrollingAcc: f32§dragOffset: c_int§draggingId: c_int§padding: c_int§borderX: c_int§borderY: c_int§nubsWidth: c_int§offsets: [c_int; 3]Trait Implementations§
source§impl Clone for ScrollbarWidget
impl Clone for ScrollbarWidget
source§fn clone(&self) -> ScrollbarWidget
fn clone(&self) -> ScrollbarWidget
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 ScrollbarWidget
impl Debug for ScrollbarWidget
source§impl PartialEq for ScrollbarWidget
impl PartialEq for ScrollbarWidget
source§fn eq(&self, other: &ScrollbarWidget) -> bool
fn eq(&self, other: &ScrollbarWidget) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ScrollbarWidget
impl StructuralPartialEq for ScrollbarWidget
Auto Trait Implementations§
impl RefUnwindSafe for ScrollbarWidget
impl !Send for ScrollbarWidget
impl !Sync for ScrollbarWidget
impl Unpin for ScrollbarWidget
impl UnwindSafe for ScrollbarWidget
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