Struct rute::auto::rect_ffi::RURectFuncs
source · #[repr(C)]pub struct RURectFuncs {Show 56 fields
pub destroy: extern "C" fn(self_c: *const RUBase),
pub is_null: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_empty: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_valid: extern "C" fn(self_c: *const RUBase) -> bool,
pub left: extern "C" fn(self_c: *const RUBase) -> i32,
pub top: extern "C" fn(self_c: *const RUBase) -> i32,
pub right: extern "C" fn(self_c: *const RUBase) -> i32,
pub bottom: extern "C" fn(self_c: *const RUBase) -> i32,
pub normalized: extern "C" fn(self_c: *const RUBase) -> RURect,
pub x: extern "C" fn(self_c: *const RUBase) -> i32,
pub y: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_left: extern "C" fn(self_c: *const RUBase, pos: i32),
pub set_top: extern "C" fn(self_c: *const RUBase, pos: i32),
pub set_right: extern "C" fn(self_c: *const RUBase, pos: i32),
pub set_bottom: extern "C" fn(self_c: *const RUBase, pos: i32),
pub set_x: extern "C" fn(self_c: *const RUBase, x: i32),
pub set_y: extern "C" fn(self_c: *const RUBase, y: i32),
pub set_top_left: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub set_bottom_right: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub set_top_right: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub set_bottom_left: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub top_left: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub bottom_right: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub top_right: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub bottom_left: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub center: extern "C" fn(self_c: *const RUBase) -> RUPoint,
pub move_left: extern "C" fn(self_c: *const RUBase, pos: i32),
pub move_top: extern "C" fn(self_c: *const RUBase, pos: i32),
pub move_right: extern "C" fn(self_c: *const RUBase, pos: i32),
pub move_bottom: extern "C" fn(self_c: *const RUBase, pos: i32),
pub move_top_left: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub move_bottom_right: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub move_top_right: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub move_bottom_left: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub move_center: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub move_to: extern "C" fn(self_c: *const RUBase, x: i32, t: i32),
pub move_to_2: extern "C" fn(self_c: *const RUBase, p: *const RUBase),
pub set_rect: extern "C" fn(self_c: *const RUBase, x: i32, y: i32, w: i32, h: i32),
pub set_coords: extern "C" fn(self_c: *const RUBase, x1: i32, y1: i32, x2: i32, y2: i32),
pub adjust: extern "C" fn(self_c: *const RUBase, x1: i32, y1: i32, x2: i32, y2: i32),
pub adjusted: extern "C" fn(self_c: *const RUBase, x1: i32, y1: i32, x2: i32, y2: i32) -> RURect,
pub size: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub width: extern "C" fn(self_c: *const RUBase) -> i32,
pub height: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_width: extern "C" fn(self_c: *const RUBase, w: i32),
pub set_height: extern "C" fn(self_c: *const RUBase, h: i32),
pub set_size: extern "C" fn(self_c: *const RUBase, s: *const RUBase),
pub contains: extern "C" fn(self_c: *const RUBase, r: *const RUBase, proper: bool) -> bool,
pub contains_2: extern "C" fn(self_c: *const RUBase, p: *const RUBase, proper: bool) -> bool,
pub contains_3: extern "C" fn(self_c: *const RUBase, x: i32, y: i32) -> bool,
pub contains_4: extern "C" fn(self_c: *const RUBase, x: i32, y: i32, proper: bool) -> bool,
pub united: extern "C" fn(self_c: *const RUBase, other: *const RUBase) -> RURect,
pub intersected: extern "C" fn(self_c: *const RUBase, other: *const RUBase) -> RURect,
pub intersects: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> bool,
pub margins_added: extern "C" fn(self_c: *const RUBase, margins: *const RUBase) -> RURect,
pub margins_removed: extern "C" fn(self_c: *const RUBase, margins: *const RUBase) -> RURect,
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
is_null: extern "C" fn(self_c: *const RUBase) -> bool
is_empty: extern "C" fn(self_c: *const RUBase) -> bool
is_valid: extern "C" fn(self_c: *const RUBase) -> bool
left: extern "C" fn(self_c: *const RUBase) -> i32
top: extern "C" fn(self_c: *const RUBase) -> i32
right: extern "C" fn(self_c: *const RUBase) -> i32
bottom: extern "C" fn(self_c: *const RUBase) -> i32
normalized: extern "C" fn(self_c: *const RUBase) -> RURect
x: extern "C" fn(self_c: *const RUBase) -> i32
y: extern "C" fn(self_c: *const RUBase) -> i32
set_left: extern "C" fn(self_c: *const RUBase, pos: i32)
set_top: extern "C" fn(self_c: *const RUBase, pos: i32)
set_right: extern "C" fn(self_c: *const RUBase, pos: i32)
set_bottom: extern "C" fn(self_c: *const RUBase, pos: i32)
set_x: extern "C" fn(self_c: *const RUBase, x: i32)
set_y: extern "C" fn(self_c: *const RUBase, y: i32)
set_top_left: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
set_bottom_right: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
set_top_right: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
set_bottom_left: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
top_left: extern "C" fn(self_c: *const RUBase) -> RUPoint
bottom_right: extern "C" fn(self_c: *const RUBase) -> RUPoint
top_right: extern "C" fn(self_c: *const RUBase) -> RUPoint
bottom_left: extern "C" fn(self_c: *const RUBase) -> RUPoint
center: extern "C" fn(self_c: *const RUBase) -> RUPoint
move_left: extern "C" fn(self_c: *const RUBase, pos: i32)
move_top: extern "C" fn(self_c: *const RUBase, pos: i32)
move_right: extern "C" fn(self_c: *const RUBase, pos: i32)
move_bottom: extern "C" fn(self_c: *const RUBase, pos: i32)
move_top_left: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
move_bottom_right: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
move_top_right: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
move_bottom_left: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
move_center: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
move_to: extern "C" fn(self_c: *const RUBase, x: i32, t: i32)
move_to_2: extern "C" fn(self_c: *const RUBase, p: *const RUBase)
set_rect: extern "C" fn(self_c: *const RUBase, x: i32, y: i32, w: i32, h: i32)
set_coords: extern "C" fn(self_c: *const RUBase, x1: i32, y1: i32, x2: i32, y2: i32)
adjust: extern "C" fn(self_c: *const RUBase, x1: i32, y1: i32, x2: i32, y2: i32)
adjusted: extern "C" fn(self_c: *const RUBase, x1: i32, y1: i32, x2: i32, y2: i32) -> RURect
size: extern "C" fn(self_c: *const RUBase) -> RUSize
width: extern "C" fn(self_c: *const RUBase) -> i32
height: extern "C" fn(self_c: *const RUBase) -> i32
set_width: extern "C" fn(self_c: *const RUBase, w: i32)
set_height: extern "C" fn(self_c: *const RUBase, h: i32)
set_size: extern "C" fn(self_c: *const RUBase, s: *const RUBase)
contains: extern "C" fn(self_c: *const RUBase, r: *const RUBase, proper: bool) -> bool
contains_2: extern "C" fn(self_c: *const RUBase, p: *const RUBase, proper: bool) -> bool
contains_3: extern "C" fn(self_c: *const RUBase, x: i32, y: i32) -> bool
contains_4: extern "C" fn(self_c: *const RUBase, x: i32, y: i32, proper: bool) -> bool
united: extern "C" fn(self_c: *const RUBase, other: *const RUBase) -> RURect
intersected: extern "C" fn(self_c: *const RUBase, other: *const RUBase) -> RURect
intersects: extern "C" fn(self_c: *const RUBase, r: *const RUBase) -> bool
margins_added: extern "C" fn(self_c: *const RUBase, margins: *const RUBase) -> RURect
margins_removed: extern "C" fn(self_c: *const RUBase, margins: *const RUBase) -> RURect
Trait Implementations
sourceimpl Clone for RURectFuncs
impl Clone for RURectFuncs
sourcefn clone(&self) -> RURectFuncs
fn clone(&self) -> RURectFuncs
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 RURectFuncs
Auto Trait Implementations
impl RefUnwindSafe for RURectFuncs
impl Send for RURectFuncs
impl Sync for RURectFuncs
impl Unpin for RURectFuncs
impl UnwindSafe for RURectFuncs
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