Struct rute::auto::desktop_widget_ffi::RUDesktopWidgetFuncs
source · #[repr(C)]pub struct RUDesktopWidgetFuncs {
pub screen_number: extern "C" fn(self_c: *const RUBase, widget: *const RUBase) -> i32,
pub is_virtual_desktop: extern "C" fn(self_c: *const RUBase) -> bool,
pub num_screens: extern "C" fn(self_c: *const RUBase) -> i32,
pub screen_count: extern "C" fn(self_c: *const RUBase) -> i32,
pub primary_screen: extern "C" fn(self_c: *const RUBase) -> i32,
pub screen_number_2: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> i32,
pub screen: extern "C" fn(self_c: *const RUBase, screen: i32) -> RUWidget,
}
Fields
screen_number: extern "C" fn(self_c: *const RUBase, widget: *const RUBase) -> i32
is_virtual_desktop: extern "C" fn(self_c: *const RUBase) -> bool
num_screens: extern "C" fn(self_c: *const RUBase) -> i32
screen_count: extern "C" fn(self_c: *const RUBase) -> i32
primary_screen: extern "C" fn(self_c: *const RUBase) -> i32
screen_number_2: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> i32
screen: extern "C" fn(self_c: *const RUBase, screen: i32) -> RUWidget
Trait Implementations
sourceimpl Clone for RUDesktopWidgetFuncs
impl Clone for RUDesktopWidgetFuncs
sourcefn clone(&self) -> RUDesktopWidgetFuncs
fn clone(&self) -> RUDesktopWidgetFuncs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RUDesktopWidgetFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUDesktopWidgetFuncs
impl Send for RUDesktopWidgetFuncs
impl Sync for RUDesktopWidgetFuncs
impl Unpin for RUDesktopWidgetFuncs
impl UnwindSafe for RUDesktopWidgetFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more